<< cv_laplace ComputerVision cv_match2image >>

ComputerVision >> ComputerVision > cv_line

cv_line

Draws line between specified points

Calling Sequence

image_ret=cv_line(image,start,end,colour,linetype,thickness)

Arguments

image

Input Image on which Line Is to be drawn

start

Start point example -> [20,30]

end

Ending point example -> [40,50]

colour

colour of line example -> [0,255,0]

linetype

Linetype values : 8 For 8 connected line , 4 For 4 connected line And anything Else For antialiased line

thickness

Thickness of line

image_ret

Output image

Description

Provides Line drawing facility on image

Draws line on image between specified cordinates (start And end)

Examples

[image_ret] = cv_line(input_image,[20,30],[40,40],[0,255,0],1,2)

See Also


Report an issue
<< cv_laplace ComputerVision cv_match2image >>