Enum DistanceType
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Enum of possible functions to calculate the distance between colors. See https://en.wikipedia.org/wiki/Color_difference for details.
public enum DistanceType
Fields
CIE2000 = 3The CIEDE2000 color difference formula.
CIE76 = 0The 1976 formula, the first formula that related a measured color difference to a known set of CIELAB coordinates.
CIE94GraphicArts = 1The 1976 definition extended to address perceptual non-uniformities, for graphic arts.
CIE94Textiles = 2The 1976 definition extended to address perceptual non-uniformities, for textiles.
CMC1To1 = 4The Colour Measurement Committee difference measure (1984), based on the LCh color model, 1:1 weighting.
CMC2To1 = 5The Colour Measurement Committee difference measure (1984), based on the LCh color model, 2:1 weighting.
RGB = 6Euclidean distance of the RGB color space.
RGBL = 7Euclidean distance of the linear RGB color space.