ImageGear21.Core Assembly > ImageGear.Processing Namespace > ImGearCameraRawProcessing Class > CalculateWhitePoint Method : CalculateWhitePoint(Double[,],ImGearIlluminant,Double[,],ImGearIlluminant,Double[]) Method |
'Declaration Public Overloads Shared Function CalculateWhitePoint( _ ByVal colorMatrix1(,) As Double, _ ByVal illuminant1 As ImGearIlluminant, _ ByVal colorMatrix2(,) As Double, _ ByVal illuminant2 As ImGearIlluminant, _ ByVal neutralColor() 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)
public static ImGearDoublePoint CalculateWhitePoint( double[,] colorMatrix1, ImGearIlluminant illuminant1, double[,] colorMatrix2, ImGearIlluminant illuminant2, double[] neutralColor )
public: static ImGearDoublePoint CalculateWhitePoint( double[,]* colorMatrix1, ImGearIlluminant illuminant1, double[,]* colorMatrix2, ImGearIlluminant illuminant2, double[]* neutralColor )
public: static ImGearDoublePoint CalculateWhitePoint( array<double>^ colorMatrix1, ImGearIlluminant illuminant1, array<double>^ 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).