Ansel
0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
Namespaces
|
Functions
|
Variables
extract_wb.py File Reference
Namespaces
namespace
extract_wb
Functions
extract_wb.eprint
(*args, **kwargs)
extract_wb.preset_to_sort
(
preset
)
Variables
dict
extract_wb.IGNORED_PRESETS
dict
extract_wb.FL_PRESET_REPLACE
list
extract_wb.PRESET_ORDER
dict
extract_wb.PRESET_SORT_MAPPING
= {}
str
extract_wb.cams_from_source
= os.path.dirname(os.path.abspath(__file__)) + "/../src/external/rawspeed/data/cameras.xml"
str
extract_wb.cams_from_dist
= os.path.dirname(os.path.abspath(__file__)) + "/../rawspeed/cameras.xml"
extract_wb.CAMERAS
= os.path.abspath(
cams_from_source
) if os.path.exists(os.path.abspath(
cams_from_source
)) else os.path.abspath(
cams_from_dist
)
dict
extract_wb.exif_name_map
= {}
extract_wb.xml_doc
= ET.parse(
CAMERAS
)
extract_wb.maker
= camera.get('make')
extract_wb.model
= camera.get('model')
extract_wb.exif_id
=
maker
,
model
extract_wb.cid
= camera.find('ID')
extract_wb.exif_model
= alias.text
list
extract_wb.found_presets
= []
extract_wb.red
= None
int
extract_wb.finetune
= 0
list
extract_wb.listed_presets
= []
dict
extract_wb.preset_names
= {}
bool
extract_wb.gm_skew
= False
str
extract_wb.command
extract_wb.proc
= subprocess.check_output(
command
, universal_newlines=True)
extract_wb.lineparts
= io.split(':')
extract_wb.tag
=
lineparts
[0].strip()
extract_wb.values
=
lineparts
[1].strip().split(' ')
tuple
extract_wb.green
= (float(
values
[1])+float(
values
[2]))/2.0
tuple
extract_wb.blue
= float(
values
[3])/
green
str
extract_wb.preset
= ' '.join(
values
)
str
extract_wb.p
= ''.join(tag.split()[3:])
int
extract_wb.r
= 0
tuple
extract_wb.g
= (float(
values
[2])+float(
values
[3]))/2.0
tuple
extract_wb.b
= float(
values
[1])/
g
extract_wb.rlevel
= float(
values
[0])
extract_wb.blevel
= float(
values
[0])
extract_wb.glevel
= float(
values
[0])
dict
extract_wb.enm
=
exif_name_map
[
maker
,
model
]
extract_wb.preset_arrv
= list(preset_arr)
extract_wb.key
int
extract_wb.min_padding
= 0
extract_wb.curr_finetune
= int(
found_presets
[index][3])
list
extract_wb.lazy_finetuning
= []
str
extract_wb.preset_name
= ''
tools
extract_wb.py
Generated by
1.9.8