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

Function line from cvbase
Brief description

line(image:IplImage,start:CvPoint,end:CvPoint,channel:int):std::vector<double>

Returns an array of double values, which form a line and a given channel in the image More ...

Function information
Name: line
Base: IplImage
Group: OpenCV plugins:Image plugins
Icon: cvimage.png
Color: blue
Authors: Aless Lasaruk
Copyright: (c) 2010 Aless Lasaruk

Detailed description

Returns an array of double values, which form a line and a given channel in the image.

Input parameters
image: IplImage
Input image
start: CvPoint
Starting point of the line
end: CvPoint
Ending point of the line
channel: int
Number of the channel

Return values
Default return value: std::vector
Array of gray values