'Declaration Public Overloads Shared Function CalculateCameraToRGBMatrix( _ ByVal colorMatrix1(,) As Double, _ ByVal illuminant1 As ImGearIlluminant, _ ByVal colorMatrix2(,) As Double, _ ByVal illuminant2 As ImGearIlluminant, _ ByVal whitePoint As ImGearDoublePoint _ ) As Double(,)
'Usage Dim colorMatrix1() As Double Dim illuminant1 As ImGearIlluminant Dim colorMatrix2() As Double Dim illuminant2 As ImGearIlluminant Dim whitePoint As ImGearDoublePoint Dim value() As Double value = ImGearCameraRawProcessing.CalculateCameraToRGBMatrix(colorMatrix1, illuminant1, colorMatrix2, illuminant2, whitePoint)
public static double[,] CalculateCameraToRGBMatrix( double[,] colorMatrix1, ImGearIlluminant illuminant1, double[,] colorMatrix2, ImGearIlluminant illuminant2, ImGearDoublePoint whitePoint )
public: static double[,]* CalculateCameraToRGBMatrix( double[,]* colorMatrix1, ImGearIlluminant illuminant1, double[,]* colorMatrix2, ImGearIlluminant illuminant2, ImGearDoublePoint whitePoint )
public: static array<double,>^ CalculateCameraToRGBMatrix( array<double>^ colorMatrix1, ImGearIlluminant illuminant1, array<double>^ colorMatrix2, ImGearIlluminant illuminant2, ImGearDoublePoint whitePoint )
Parameters
- colorMatrix1
- XYZ to camera colorspace conversion matrix under Illuminant 1.
- illuminant1
- Illuminant 1 value.
- colorMatrix2
- XYZ to camera colorspace conversion matrix under Illuminant 2.
- illuminant2
- Illuminant 2 value.
- whitePoint
- XY coordinates of camera white point.
Return Value
Double array.