ContRap
The symbolic tool for control-flow based rapid prototyping.

Function cvDistance from cvimages
Brief description

cvDistance(image:IplImage,r:int,g:int,b:int):IplImage

Returns a gray-value image in which the values for each pixel give the the distance to the given color More ...

Function information
Name: cvDistance
Base:
Group: OpenCV plugins:Color filters
Icon: color.png
Color:
Authors:
Copyright:

Detailed description

Returns a gray-value image in which the values for each pixel give the the distance to the given color.

Input parameters
image: IplImage
Input image
r: int
Red amount of the color
g: int
Green amount of the color
b: int
Blue amount of the color

Return values
Default return value: IplImage