MATLAB File Help: cv.ellipse Index
cv.ellipse

Draws a simple or thick elliptic arc or fills an ellipse sector

img = cv.ellipse(img, center, axes)
img = cv.ellipse(img, box)
[...] = cv.ellipse(..., 'OptionName', optionValue, ...)

Input

Output

Options

The first variant of the cv.ellipse function draw an ellipse outline, a filled ellipse, an elliptic arc, or a filled ellipse sector. A piecewise- linear curve is used to approximate the elliptic arc boundary. If you need more control of the ellipse rendering, you can retrieve the curve using cv.ellipse2Poly and then render it with cv.polylines or fill it with cv.fillPoly. If you use the first variant of the function and want to draw the whole ellipse, not an arc, pass StartAngle=0 and EndAngle=360.

The second variant of the function (with rotated rectange as input) does not support the Angle, StartAngle, EndAngle, and Shift parameters (always draw a whole ellipse, not an arc).

See also