Converts integer RGB values to CIELab floating point results
System.float[] RGBToCIELab(
System.int[]
)
function RGBToCIELab(
: System.Integerarray of
): System.array of Single;
function RGBToCIELab(
: System.int[]
) : System.float[];
System.float[]* RGBToCIELab(
System.int[]*
)
System.array<float>^ RGBToCIELab(
System.array<int>^
)
'Declaration
Function RGBToCIELab( _
ByVal () As System.Integer _
) As System.Single()
'Usage
Dim instance As IColourConverter
Dim RGB() As System.Integer
Dim value() As System.Single
value = instance.RGBToCIELab(RGB)
Parameters
- RGB
-
An array of 3 values. Although made as Int32 values for
CLS complicance, the range should be confined to the ushort range (0 - 0xFFFF)
Return Value
CIELab values in range 0-100.0 for L (first value) and -128.0 to +127.0
for a and b (second and theird values)
Target Platforms: .NET CLR 4.8 or higher