Table of Contents

Class CIE76ColorDistance

Namespace
UICatalog.Scenarios
Assembly
UICatalog.dll

This is the simplest method to measure color difference in the CIE Lab color space. The Euclidean distance in Lab space is more aligned with human perception than RGB space, as Lab attempts to model how humans perceive color differences.

public class CIE76ColorDistance : LabColorDistance, IColorDistance
Inheritance
CIE76ColorDistance
Implements
Inherited Members
Extension Methods

Methods

CalculateDistance(Color, Color)

Computes a similarity metric between two Color instances. A larger value indicates more dissimilar colors, while a smaller value indicates more similar colors. The metric is internally consistent for the given algorithm.