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

Function RGBToProLab

Common/Core/vtkMath.h:1477–1480  ·  view source on GitHub ↗

@{ * Convert color from the RGB system to Prolab * The input RGB must be values in the range [0, 1]. * The output ranges of 'L' is [0, 100]. The output * range of 'a' and 'b' are approximately [-110, 110]. * */

Source from the content-addressed store, hash-verified

1475 *
1476 */
1477 static void RGBToProLab(const double rgb[3], double prolab[3])
1478 {
1479 RGBToProLab(rgb[0], rgb[1], rgb[2], prolab + 0, prolab + 1, prolab + 2);
1480 }
1481 static void RGBToProLab(double red, double green, double blue, double* L, double* a, double* b);
1482 ///@}
1483

Callers 2

TestColorConvertFunction · 0.85
GetTableMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestColorConvertFunction · 0.68