DicomObjects.NET.8.48 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 System.Single _
    ) As System.Integer()
    'Usage
     
    
    Dim instance As IColourConverter
    Dim CIELab() As System.Single
    Dim value() As System.Integer
     
    value = instance.CIELabToRGB(CIELab)
    System.int[] CIELabToRGB( 
       System.float[] CIELab
    )
    function CIELabToRGB( 
        CIELab: System.Singlearray of
    ): System.array of Integer; 
    function CIELabToRGB( 
       CIELab : System.float[]
    ) : System.int[];
    System.int[]* CIELabToRGB( 
       System.float[]* CIELab
    ) 
    System.array<int>^ CIELabToRGB( 
       System.array<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: .NET CLR 4.8 or higher

    See Also