DicomObjects.NET10 Documentation
DicomObjects Namespace / IColourConverter Interface / CIELabToRGB Method
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)



In This Topic
    CIELabToRGB Method
    In This Topic
    Converts CIELab floating point values to integer RGB results
    Syntax
    'Declaration
     
    
    Function CIELabToRGB( _
       ByVal CIELab() As Single _
    ) As Integer()
    'Usage
     
    
    Dim instance As IColourConverter
    Dim CIELab() As Single
    Dim value() As Integer
     
    value = instance.CIELabToRGB(CIELab)
    int[] CIELabToRGB( 
       float[] CIELab
    )

    Parameters

    CIELab
    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)

    Return Value

    An array of 3 values. Although made as Int32 values for CLS complicance, the range should be confined to the ushort range (0 - 0xFFFF)
    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