VTK
|
Private header used by vtkColorTransferFunction to support LAB/CIEDE2000 interpolation. More...
Classes | |
struct | Node |
Node of the color path. More... | |
Functions | |
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 measure. More... | |
double | GetColorPath (const double rgb1[3], const double rgb2[3], std::vector< Node > &path) |
Calculates the shortest color path between two colors with respect to the CIEDE2000 measure and returns its overall length. More... | |
Private header used by vtkColorTransferFunction to support LAB/CIEDE2000 interpolation.
The implementation is a modified version based on the following: https://github.com/gfiumara/CIEDE2000
Returns the distance between two colors as given by the CIE Delta E 2000 (CIEDE2000) color distance measure.