DicomObjects.NET10 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)



In This Topic
    RGBToCIELab Method
    In This Topic
    Converts integer RGB values to CIELab floating point results
    Syntax
    'Declaration
     
    
    Function RGBToCIELab( _
       ByVal RGB() As Integer _
    ) As Single()
    'Usage
     
    
    Dim instance As IColourConverter
    Dim RGB() As Integer
    Dim value() As Single
     
    value = instance.RGBToCIELab(RGB)
    float[] RGBToCIELab( 
       int[] RGB
    )
    array<float>^ RGBToCIELab( 
       array<int>^ 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also