VTK  9.1.0
Classes | Namespaces | Functions
vtkCIEDE2000.h File Reference
#include <vector>
Include dependency graph for vtkCIEDE2000.h:

Go to the source code of this file.

Classes

struct  CIEDE2000::Node
 Node of the color path. More...
 

Namespaces

namespace  CIEDE2000
 Private header used by vtkColorTransferFunction to support LAB/CIEDE2000 interpolation.
 

Functions

void CIEDE2000::MapColor (double rgb[3])
 Map a RGB color to its corresponding color in the sampled RGB space.
 
double CIEDE2000::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.
 
double CIEDE2000::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 returns its overall length.