Changed convexHull's documentation to essentially invert the meaning of ``clockwise``.
authorRoman Donchenko <roman.donchenko@itseez.com>
Fri, 26 Apr 2013 10:22:55 +0000 (14:22 +0400)
committerRoman Donchenko <roman.donchenko@itseez.com>
Fri, 26 Apr 2013 10:22:55 +0000 (14:22 +0400)
commit2dc8642508b939d046a3988885fc846ddc1ee52c
treee17cdd6a42fa866a75f869a33da53b86b501b727
parenta9a269505cd2abdc10a0daf8a55fe2ae3fa909fc
Changed convexHull's documentation to essentially invert the meaning of ``clockwise``.

The orientation of convexHull's result is currently the opposite of what the
documentation would suggest:

>>> import cv2, numpy as np
>>> points = np.array([[0,0],[0,1],[1,0]], dtype=np.int32)
>>> cv2.convexHull(points, clockwise=False)
array([[[1, 0]],
       [[0, 1]],
       [[0, 0]]], dtype=int32)
>>> cv2.convexHull(points, clockwise=True)
array([[[0, 0]],
       [[0, 1]],
       [[1, 0]]], dtype=int32)

Changing the function itself is probably not a good idea at this point, so
this fixes the documentation by flipping the coordinate system.

I also removed the mention of the origin, since it's irrelevant for this
function.
modules/imgproc/doc/structural_analysis_and_shape_descriptors.rst