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