Table of Contents

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 = 3

The CIEDE2000 color difference formula.

CIE76 = 0

The 1976 formula, the first formula that related a measured color difference to a known set of CIELAB coordinates.

CIE94GraphicArts = 1

The 1976 definition extended to address perceptual non-uniformities, for graphic arts.

CIE94Textiles = 2

The 1976 definition extended to address perceptual non-uniformities, for textiles.

CMC1To1 = 4

The Colour Measurement Committee difference measure (1984), based on the LCh color model, 1:1 weighting.

CMC2To1 = 5

The Colour Measurement Committee difference measure (1984), based on the LCh color model, 2:1 weighting.

RGB = 6

Euclidean distance of the RGB color space.

RGBL = 7

Euclidean distance of the linear RGB color space.