<< cv_drawmatches ComputerVision cv_equalizehist_image >>

ComputerVision >> ComputerVision > cv_ellipse

cv_ellipse

To draw Ellipse

Calling Sequence

image_ret=cv_ellipse(image,center,axes,angle,startAngle,endAngle,color,thickness,linetype)

Arguments

image

Input Image -> Must be a np.ndarray

center

Center of the ellipse. -> Must be a constant ex: [5,5]

axes

Length of axes -> [major axis length, minor axis length] ex:[100,50]

angle

angle is the angle of rotation of ellipse in anti-clockwise direction

startAngle

startAngle denotes the starting of ellipse arc measured in clockwise direction from major axis. i.e. giving values 0 and 360 gives the full ellipse

endAngle

endAngle denotes the ending of ellipse arc measured in clockwise direction from major axis. i.e. giving values 0 and 360 gives the full ellipse

color

Color of ellipse-> Must be a constant ex : [255,0,0]

thickness

Thickness of Ellipse outline

linetype

Type of line-> 1 for antialiased type of line , 4 for 4-connected line, 8 for 8 connected line

image_ret

Returned Image

Description

To draw Ellipse

This function is used to draw ellipse in an image

Examples

image=cv_ellipse(input_image,[256,256],[100,50],0,0,180,[255,0,0],-1,4)

See Also


Report an issue
<< cv_drawmatches ComputerVision cv_equalizehist_image >>