Class CalRGBColorSpaceDetails
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 CalRGBColorSpaceDetails : ColorSpaceDetails
- Inheritance
-
CalRGBColorSpaceDetails
- Inherited Members
Constructors
CalRGBColorSpaceDetails(IReadOnlyList<double>, IReadOnlyList<double>, IReadOnlyList<double>, IReadOnlyList<double>)
Create a new CalRGBColorSpaceDetails.
public CalRGBColorSpaceDetails(IReadOnlyList<double> whitePoint, IReadOnlyList<double> blackPoint, IReadOnlyList<double> gamma, IReadOnlyList<double> matrix)
Parameters
whitePoint
IReadOnlyList<double>blackPoint
IReadOnlyList<double>gamma
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
Gamma
An array of three numbers [GR GG GB] specifying the gamma for the red, green and blue (A, B, C) components of the color space. Default value: [1.0 1.0 1.0].
public IReadOnlyList<double> Gamma { get; }
Property Value
Matrix
An array of nine numbers [XA YA ZA XB YB ZB XC YC ZC] specifying the linear interpretation of the decoded A, B, C components of the color space with respect to the final XYZ representation. Default value: [1 0 0 0 1 0 0 0 1].
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()