86double GetColorPath(
const double rgb1[3],
const double rgb2[3], std::vector<Node>& path,
87 bool forceExactSupportColors);
Private header used by vtkColorTransferFunction to support LAB/CIEDE2000 interpolation.
void MapColor(double rgb[3])
Map a RGB color to its corresponding color in the sampled RGB space.
double GetColorPath(const double rgb1[3], const double rgb2[3], std::vector< Node > &path, bool forceExactSupportColors)
Calculates the shortest color path between two colors with respect to the CIEDE2000 measure and retur...
double GetCIEDeltaE2000(const double lab1[3], const double lab2[3])
Returns the distance between two colors as given by the CIE Delta E 2000 (CIEDE2000) color distance m...