Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

These are a couple of opencv functions regarding ellipses:

// this outputs to 'pts' the points representing an ellipse arc defined by the other parameters
Core.ellipse2Poly(center, axes, angle, arcStart, arcEnd, delta, pts);

// this draws an ellipse
Core.ellipse(img, center, axes, angle, startAngle, endAngle, color);

axes parameter is of type Size and means the width and height of the axes.

I will improve the answer if you provide more details.