ImageEn, unit iexBitmaps

TIOParams.RAW_UseAutoWB

TIOParams.RAW_UseAutoWB


Declaration

property RAW_UseAutoWB: Boolean;


Description

If True, automatic white balance is performed.
By default, Raw images are given a fixed white balance based on a color chart illuminated with a standard D65 lamp. When RAW_UseAutoWB is enabled, the white balance is calculated by averaging the entire image.

Default: False (Specified by IOParamDefaults)


Demo

Demo  Demos\InputOutput\CameraRaw\CameraRaw.dpr


Example

// Set recommended defaults for RAW Loading
ImageEnView1.IO.Params.RAW_FourColorRGB := False;
ImageEnView1.IO.Params.RAW_QuickInterpolate := False;
ImageEnView1.IO.Params.RAW_UseAutoWB := True;
ImageEnView1.IO.Params.RAW_UseCameraWB := True;
ImageEnView1.IO.Params.RAW_AutoAdjustColors := False;
ImageEnView1.IO.Params.RAW_Gamma := 2.222;
ImageEnView1.IO.Params.RAW_GammaToeSlope := 4.5;
ImageEnView1.IO.Params.RAW_AutoBright := False;
ImageEnView1.IO.Params.RAW_OutputColorSpace := iercsSRGB;

ImageEnView1.IO.LoadFromFile('C:\CRW_0001.CRW');


See Also

- RAW_UseCameraWB
- RAW_AutoAdjustColors
- IOParamDefaults