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

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

public void ConvertCIELABtoLinearRGB(
	SourceData dataSource,
	Illuminant whitePoint = null


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.


Use this method to transform source data directly from L*a*b* space to linear RGB values 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 stored according to the red/green/blue channel indices in the parent SourceData object. L*, a* and b* output values are sourced from channels 0, 1 and 2 respectively. 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