MCPcopy Create free account
hub / github.com/Kitware/VTK / getLabColor

Function getLabColor

Rendering/Core/vtkCIEDE2000.cxx:56–62  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

54
55//------------------------------------------------------------------------------
56inline static void getLabColor(const Position& pos, double _lab[3])
57{
58 double rgb[3];
59 getRGBColor(pos, rgb);
60
61 vtkMath::RGBToLab(rgb, _lab);
62}
63
64//------------------------------------------------------------------------------
65inline static int getIndex(const Position& pos)

Callers 1

GetColorPathFunction · 0.85

Calls 2

getRGBColorFunction · 0.85
RGBToLabFunction · 0.85

Tested by

no test coverage detected