DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / IColourConverter Interface / RGBToCIELab Method
An array of 3 values. Although made as Int32 values for CLS complicance, the range should be confined to the ushort range (0 - 0xFFFF)






    RGBToCIELab Method
    Converts integer RGB values to CIELab floating point results
    Syntax
    'Declaration
     
    
    Function RGBToCIELab( _
       ByVal RGB() 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)
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also