The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home BasePack SDLColors Procedures and Functions RGBColorDistance | |||||||
See also: ColorToIndex | |||||||
RGBColorDistance |
|||||||
The function RGBColorDistance calculates the Euclidean distance of the two colors c1 and c2 using the RGB color space. The resulting distance may take any value between 0.0 (identical colors) and 1.0 (most dissimilar colors).
|