components.io.rawimagefilereaderο
- class RawImageFileReader(config={}, **kwds)[source]ο
Bases:
ComponentRead βrawβ still image file (CR2, NEF, etc.).
This component uses the rawkit Python package. See
RawImageFileReader2for a component that uses rawpy.See the rawkit documentation for more detail on the configuration options.
Config
pathstr
Path name of file to be read.
16bitbool
Get greater precision than normal 8-bit range.
brightnessfloat
Set the gain.
highlight_modestr
Set highlight mode. Possible values:
'clip','ignore','blend','reconstruct'.gammastr
Set gamma curve. Possible values:
'linear','bt709','srgb','adobe_rgb'.colourspacestr
Set colour space. Possible values:
'raw','srgb','adobe_rgb','wide_gammut_rgb','kodak_prophoto_rgb','xyz'.interpolationstr
Set demosaicing method. Possible values:
'linear','vng','ppg','ahd','dcb','modified_ahd','afd','vcd','mixed_vcd_modified_ahd','lmmse','amaze'.noise_thresholdfloat
Set denoising threshold. Typically 100 to 1000.
wb_autobool
Automatic white balance.
wb_camerabool
Use camera defined white balance.
wb_greyboxstr
4 comma separated integers that define a grey area of the image.
wb_rgbgstr
4 comma separated floats that set the gain of each channel.
red_scalefloat
Chromatic aberration correction red scale factor.
blue_scalefloat
Chromatic aberration correction blue scale factor.
cropbool
Auto crop image to dimensions in metadata.
use_camera_profilebool
Use embedded camera profile, if present.
Comments or questions? Please email jim@jim-easterbrook.me.uk.