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


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

ICieLabConversion.HsvToLab Method

Converts an RGB color to a CIELAB color.

[Visual Basic .NET]
Public Sub HsvToLab ( _
    ByVal h As Short, _
    ByVal s As Byte, _
    ByVal v As Byte, _
    ByRef l As Double, _
    ByRef a As Double, _
    ByRef b As Double _
)
[C#]
public void HsvToLab (
    short h,
    byte s,
    byte v,
    ref double l,
    ref double a,
    ref double b
);
[C++]
HRESULT HsvToLab(
  short h,
  Byte s,
  Byte v,
  double* l,
  double* a,
  double* b
);
[C++]

Parameters h [in] h is a parameter of type short s [in] s is a parameter of type Byte v [in] v is a parameter of type Byte 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