Enum ColorSimilarityMethod
An enumeration representing the available methods for comparing the similarity of two colors.
Namespace: EyeAuras.OpenCVAuras.Triggers.ColorSearch
Assembly: EyeAuras.OpenCVAuras.Metadata.dll
Syntax
public enum ColorSimilarityMethod
Remarks
This enumeration is used to select a method to determine how similar two colors are. The methods provide different types of calculations and may provide different results depending on the colors being compared.
Fields
Name | Description |
---|---|
CIEDE2000 | A method that uses the CIEDE2000 color-difference formula. This is an advanced color comparison method, which takes into account the way humans perceive color. It provides more accurate results for a wider range of colors, but it is also more computationally intensive. |
EuclideanDistance | A method that uses a simple Euclidean distance calculation on the RGB color space. This is a mathematical comparison that calculates the difference between the numerical RGB color values. It is less accurate for human color perception, but it is faster and simpler to compute. |