GetColorDistance(Color,Color) Method

Kaliko Image Library

Kaliko.ImageLibrary
GetColorDistance(Color,Color) Method





Gets the "distance" between two colors.
Syntax
'Declaration
 
Public Overloads Shared Function GetColorDistance( _
   ByVal c1 As System.Drawing.Color, _
   ByVal c2 As System.Drawing.Color _
) As System.Double
'Usage
 
Dim c1 As System.Drawing.Color
Dim c2 As System.Drawing.Color
Dim value As System.Double
 
value = ColorSpaceHelper.GetColorDistance(c1, c2)
public static System.double GetColorDistance( 
   System.Drawing.Color c1,
   System.Drawing.Color c2
)
public function GetColorDistance( 
    c1: System.Drawing.Color;
    c2: System.Drawing.Color
): System.Double; static; 
public static function GetColorDistance( 
   c1 : System.Drawing.Color,
   c2 : System.Drawing.Color
) : System.double;
public: static System.double GetColorDistance( 
   System.Drawing.Color c1,
   System.Drawing.Color c2
) 
public:
static System.double GetColorDistance( 
   System.Drawing.Color c1,
   System.Drawing.Color c2
) 

Parameters

c1
c2
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

See Also

This documentation was created using Document! X from Innovasys