Calculates the white point corresponding to neutral color in camera color space.
Syntax
'Declaration
Public Overloads Shared Function CalculateWhitePoint( _
ByVal (,) As Double, _
ByVal As ImGearIlluminant, _
ByVal (,) As Double, _
ByVal As ImGearIlluminant, _
ByVal () As Double _
) As ImGearDoublePoint
'Usage
Dim colorMatrix1() As Double
Dim illuminant1 As ImGearIlluminant
Dim colorMatrix2() As Double
Dim illuminant2 As ImGearIlluminant
Dim neutralColor() As Double
Dim value As ImGearDoublePoint
value = ImGearCameraRawProcessing.CalculateWhitePoint(colorMatrix1, illuminant1, colorMatrix2, illuminant2, neutralColor)
Parameters
- colorMatrix1
- XYZ to camera colorspace conversion matrix under Illuminant 1.
- illuminant1
- Illuminant 1.
- colorMatrix2
- XYZ to camera colorspace conversion matrix under Illuminant 2.
- illuminant2
- Illuminant 2.
- neutralColor
- Normalized coordinates of a neutral color.
Return Value
See Also