ImageGear22.Core Assembly > ImageGear.Processing Namespace > ImGearCameraRawProcessing Class > CalculateWhitePoint Method : CalculateWhitePoint(IGDoubleMatrix,ImGearIlluminant,IGDoubleMatrix,ImGearIlluminant,Double[]) Method |
'Declaration Public Overloads Shared Function CalculateWhitePoint( _ ByVal colorMatrix1 As IGDoubleMatrix, _ ByVal illuminant1 As ImGearIlluminant, _ ByVal colorMatrix2 As IGDoubleMatrix, _ ByVal illuminant2 As ImGearIlluminant, _ ByVal neutralColor() As Double _ ) As ImGearDoublePoint
'Usage Dim colorMatrix1 As IGDoubleMatrix Dim illuminant1 As ImGearIlluminant Dim colorMatrix2 As IGDoubleMatrix Dim illuminant2 As ImGearIlluminant Dim neutralColor() As Double Dim value As ImGearDoublePoint value = ImGearCameraRawProcessing.CalculateWhitePoint(colorMatrix1, illuminant1, colorMatrix2, illuminant2, neutralColor)
public static ImGearDoublePoint CalculateWhitePoint( IGDoubleMatrix colorMatrix1, ImGearIlluminant illuminant1, IGDoubleMatrix colorMatrix2, ImGearIlluminant illuminant2, double[] neutralColor )
public: static ImGearDoublePoint CalculateWhitePoint( IGDoubleMatrix* colorMatrix1, ImGearIlluminant illuminant1, IGDoubleMatrix* colorMatrix2, ImGearIlluminant illuminant2, double[]* neutralColor )
public: static ImGearDoublePoint CalculateWhitePoint( IGDoubleMatrix^ colorMatrix1, ImGearIlluminant illuminant1, IGDoubleMatrix^ colorMatrix2, ImGearIlluminant illuminant2, array<double>^ neutralColor )
If only one color matrix is known, pass null to >colorMatrix2
.
Dimensions of >colorMatrix1
and >colorMatrix2
must be equal to (n, 3), where n is channel count of native camera color space (3 or 4).