This document is archived and information here might be outdated.  Recommended version.


ICieLabConversion.RgbToLab Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

ICieLabConversion.RgbToLab Method

Converts an RGB color to a CIELAB color.

[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
);
[C++]
HRESULT RgbToLab(
  long RGB,
  double* l,
  double* a,
  double* b
);
[C++]

Parameters RGB [in] RGB is a parameter of type long 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