ArcObjects Library Reference  (Display)    

ICieLabConversion.RgbToLab Method

Converts an RGB color to a CIELAB color.

[Visual Basic 6.0]
Sub RgbToLab(
    ByVal RGB As OLE_COLOR, _
    l As Double, _
    a As Double, _
    b As Double _
)
[Visual Basic .NET]
Public Sub RgbToLab ( _
    ByVal RGB As Integer, _
    ByRef l As Double, _
    ByRef a As Double, _
    ByRef b As Double _
)
[C#]
public void RgbToLab (
    int RGB,
    ref double l,
    ref double a,
    ref double b
);
[Java]
public void rgbToLab (
    int RGB,
    double l,
    double a,
    double b
)
throws
    IOException,
    AutomationException
[C++]
HRESULT RgbToLab(
  OLE_COLOR RGB,
  double* l,
  double* a,
  double* b
);
[C++]

Parameters

RGB [in]

  RGB is a parameter of type OLE_COLOR

l [out]

  l is a parameter of type double

a

  a is a parameter of type double

b

  b is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ICieLabConversion Interface

 


Feedback Send feedback on this page