You are here: Start » AVL.NET » Invoke.ColorDistance
Compares two pixels using chromatic and non-chromatic information. Assumes RGB color space.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void ColorDistance ( Avl.Pixel inPixelA, Avl.Pixel inPixelB, float inChromaAmount, out float outDistance )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPixelA | Avl.Pixel | |||
![]() | inPixelB | Avl.Pixel | |||
![]() | inChromaAmount | float | <0.0f, 1.0f> | 0.7f | Proportion of chromatic information in distance computation. Default value: 0.7f. |
![]() | outDistance | float |