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