Class LabColorSpaceDetails
CIE (Commission Internationale de l'Éclairage) colorspace. Specifies color related to human visual perception with the aim of producing consistent color on different output devices. CalRGB - A CIE ABC color space with a single transformation. A, B and C represent red, green and blue color values in the range 0.0 to 1.0.
public sealed class LabColorSpaceDetails : ColorSpaceDetails
- Inheritance
-
LabColorSpaceDetails
- Inherited Members
Constructors
LabColorSpaceDetails(IReadOnlyList<double>, IReadOnlyList<double>, IReadOnlyList<double>)
Create a new LabColorSpaceDetails.
public LabColorSpaceDetails(IReadOnlyList<double> whitePoint, IReadOnlyList<double> blackPoint, IReadOnlyList<double> matrix)
Parameters
whitePoint
IReadOnlyList<double>blackPoint
IReadOnlyList<double>matrix
IReadOnlyList<double>
Properties
BlackPoint
An array of three numbers [XB YB ZB] specifying the tristimulus value, in the CIE 1931 XYZ space of the diffuse black point. All three numbers must be non-negative. Default value: [0.0 0.0 0.0].
public IReadOnlyList<double> BlackPoint { get; }
Property Value
Matrix
An array of four numbers [a_min a_max b_min b_max] that shall specify the range of valid values for the a* and b* (B and C) components of the colour space — that is, a_min ≤ a* ≤ a_max and b_min ≤ b* ≤ b_max
Component values falling outside the specified range shall be adjusted to the nearest valid value without error indication.
Default value: [−100 100 −100 100].public IReadOnlyList<double> Matrix { get; }
Property Value
NumberOfColorComponents
public override int NumberOfColorComponents { get; }
Property Value
WhitePoint
An array of three numbers [XW YW ZW] specifying the tristimulus value, in the CIE 1931 XYZ space of the diffuse white point. The numbers XW and ZW shall be positive, and YW shall be equal to 1.0.
public IReadOnlyList<double> WhitePoint { get; }
Property Value
Methods
GetColor(params double[])
public override IColor GetColor(params double[] values)
Parameters
values
double[]
Returns
GetInitializeColor()
public override IColor GetInitializeColor()