Added extra information for fitEllipse, minAreaRect and addapted ellipse &
ellipse2Poly parameter description.
:param center: Center of the ellipse.
- :param axes: Length of the ellipse axes.
+ :param axes: Half of the size of the ellipse main axes.
:param angle: Ellipse rotation angle in degrees.
:param center: Center of the arc.
- :param axes: Half-sizes of the arc. See the :ocv:func:`ellipse` for details.
+ :param axes: Half of the size of the ellipse main axes. See the :ocv:func:`ellipse` for details.
:param angle: Rotation angle of the ellipse in degrees. See the :ocv:func:`ellipse` for details.
:ocv:func:`ellipse` .
-
fillConvexPoly
------------------
Fills a convex polygon.
The function calculates and returns the minimal up-right bounding rectangle for the specified point set.
-
-
contourArea
---------------
Calculates a contour area.
* Nx2 numpy array (Python interface)
The function calculates the ellipse that fits (in a least-squares sense) a set of 2D points best of all. It returns the rotated rectangle in which the ellipse is inscribed. The algorithm [Fitzgibbon95]_ is used.
+Developer should keep in mind that it is possible that the returned ellipse/rotatedRect data contains negative indices, due to the data points being close to the border of the containing Mat element.
.. note::
* Nx2 numpy array (Python interface)
The function calculates and returns the minimum-area bounding rectangle (possibly rotated) for a specified point set. See the OpenCV sample ``minarea.cpp`` .
-
+Developer should keep in mind that the returned rotatedRect can contain negative indices when data is close the the containing Mat element boundary.
minEnclosingCircle