Method | Description | |
---|---|---|
Calibrate ( ImageUtility _xyY ) : ImageUtility.float3 |
Calibrates a raw luminance value Typically, you start from a RAW XYZ value that you convert to xyY, pass the Y to this method and replace it into your orignal xyY, convert back to XYZ and voilà! |
|
CalibrateWithSpatialCorrection ( float _U, float _V, ImageUtility _xyY ) : ImageUtility.float3 |
Calibrates a raw luminance value with spatial luminance correction Typically, you start from a RAW XYZ value that you convert to xyY, pass it to this method and replace it into your orignal xyY, convert back to XYZ and voilà! |
|
GetSpatialLuminanceCorrectionFactor ( float _U, float _V ) : float |
Uses the white reference image to retrieve the luminance factor to apply based on the position in the image
|
|
IsPreparedFor ( float _ISOSpeed, float _ShutterSpeed, float _Aperture ) : bool |
Tells if the database is prepared and can be used for processing colors of an image with the specified shot infos
|
|
PrepareCalibrationFor ( ImageUtility _Image ) : void |
Prepares the interpolated calibration table to process the pixels in an image shot with the specified shot infos
|
|
PrepareCalibrationFor ( float _ISOSpeed, float _ShutterSpeed, float _Aperture ) : void |
Prepares the interpolated calibration table to process the pixels in an image shot with the specified shot infos
|
Method | Description | |
---|---|---|
FindStartNode ( float _EV_ISOSpeed, float _EV_ShutterSpeed, float _EV_Aperture ) : GridNode |
Finds the first grid node whose ISO, shutter speed and aperture values are immediately inferior to the ones provided
|
public Calibrate ( ImageUtility _xyY ) : ImageUtility.float3 | ||
_xyY | ImageUtility | The uncalibrated value |
return | ImageUtility.float3 |
public CalibrateWithSpatialCorrection ( float _U, float _V, ImageUtility _xyY ) : ImageUtility.float3 | ||
_U | float | The U coordinate in the image (U=X/Width) |
_V | float | The V coordinate in the image (V=Y/Height) |
_xyY | ImageUtility | |
return | ImageUtility.float3 |
public GetSpatialLuminanceCorrectionFactor ( float _U, float _V ) : float | ||
_U | float | The U coordinate in the image (U=X/Width) |
_V | float | The V coordinate in the image (V=Y/Height) |
return | float |
public IsPreparedFor ( float _ISOSpeed, float _ShutterSpeed, float _Aperture ) : bool | ||
_ISOSpeed | float | |
_ShutterSpeed | float | |
_Aperture | float | |
return | bool |
public PrepareCalibrationFor ( ImageUtility _Image ) : void | ||
_Image | ImageUtility | |
return | void |
public PrepareCalibrationFor ( float _ISOSpeed, float _ShutterSpeed, float _Aperture ) : void | ||
_ISOSpeed | float | |
_ShutterSpeed | float | |
_Aperture | float | |
return | void |