GetColorDistance(Double,Double,Double,Double,Double,Double) Method
Kaliko.ImageLibrary.ColorSpace Namespace > ColorSpaceHelper Class > GetColorDistance Method : GetColorDistance(Double,Double,Double,Double,Double,Double) Method |
First color red component.
First color green component.
First color blue component.
Second color red component.
Second color green component.
Second color blue component.
Gets the "distance" between two colors. RGB colors must be normalized (eg. values in [0.0, 1.0]).
Syntax
Parameters
- r1
- First color red component.
- g1
- First color green component.
- b1
- First color blue component.
- r2
- Second color red component.
- g2
- Second color green component.
- b2
- Second color blue component.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2