<< cv_pyrup ComputerVision cv_resize >>

ComputerVision >> ComputerVision > cv_rectangle

cv_rectangle

"Draws a simple, thick, or filled up-right rectangle."

Calling Sequence

"image_ret"=cv_rectangle("image","start","end","colour","linetype","thickness")

Arguments

"image"

"Input Image"

"start"

"Vertex of the rectangle"

"end"

"Vertex of the rectangle opposite to start"

"colour"

" Rectangle color or brightness (grayscale image)"

"linetype"

"Type of the line: 8 (or omitted) - 8-connected line, 4 - 4-connected line and CV_AA - antialiased line."

"thickness"

"Line thickness"

"image_ret"

"Returned Image"

Description

"The function rectangle draws a rectangle outline or a filled rectangle whose two opposite corners are start and end"

"The function rectangle draws a rectangle outline or a filled rectangle whose two opposite corners are start and end"

Examples

"[image_ret] = cv_rectangle(input_image,(115,120),(170,150),(255,0,0),8,2) "

See Also


Report an issue
<< cv_pyrup ComputerVision cv_resize >>