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

Method ProLabToRGB

Common/Core/vtkMath.cxx:2839–2844  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2837
2838//------------------------------------------------------------------------------
2839void vtkMath::ProLabToRGB(double L, double a, double b, double* red, double* green, double* blue)
2840{
2841 double x, y, z;
2842 vtkMath::ProLabToXYZ(L, a, b, &x, &y, &z);
2843 vtkMath::XYZToRGB(x, y, z, red, green, blue);
2844}
2845
2846//------------------------------------------------------------------------------
2847void vtkMath::RGBToLab(double red, double green, double blue, double* L, double* a, double* b)

Callers

nothing calls this directly

Calls 2

ProLabToXYZFunction · 0.85
XYZToRGBFunction · 0.85

Tested by

no test coverage detected