Core Optical, Inc.
ColorimetricConverter ConvertLinearRGBtoCIELAB Method Industrial Strength, Scientific Grade
Transforms source data in-place from linear RGB to CIE L*a*b* space.

Namespace: PrecisionImage.Colorimetry
Assembly: PrecisionImage (in PrecisionImage.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public void ConvertLinearRGBtoCIELAB(
	SourceData dataSource,
	Illuminant whitePoint = null
)

Parameters

dataSource
Type: PrecisionImage SourceData
A SourceData object encapsulating the image data to be converted.
whitePoint (Optional)
Type: PrecisionImage.Colorimetry Illuminant
A Illuminant object specifying the reference white point used during the calculation. This parameter is optional and defaults D65.
Exceptions

Remarks

Use this method to transform source data directly from Linear RGB to L*a*b* space using the whitePoint illuminant as the reference white point and according to ISO standard 13655. If no white point is specified a default of D65 is used. The conversion is applied under the assumption that the data in dataSource represents linearized sRGB values. The RGB values are sourced according to the red/green/blue channel indices in the parent SourceData object. L*, a* and b* output values are stored in-place in channels 0, 1 and 2. To guarantee an invertable result, output values are not clamped to any arbitrary range and are stored as-is. The dataSource object must contain at least 3 channels or an OnlineArgumentOutOfRangeException exception will result.
See Also