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

Method RGBToProLab

Common/Core/vtkMath.cxx:2831–2836  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2829
2830//------------------------------------------------------------------------------
2831void vtkMath::RGBToProLab(double red, double green, double blue, double* L, double* a, double* b)
2832{
2833 double x, y, z;
2834 vtkMath::RGBToXYZ(red, green, blue, &x, &y, &z);
2835 vtkMath::XYZToProLab(x, y, z, L, a, b);
2836}
2837
2838//------------------------------------------------------------------------------
2839void vtkMath::ProLabToRGB(double L, double a, double b, double* red, double* green, double* blue)

Callers

nothing calls this directly

Calls 2

RGBToXYZFunction · 0.85
XYZToProLabFunction · 0.85

Tested by

no test coverage detected