Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In case the contour is not closed (area is 0 or length of contour) you get duplicate contour points and this is the correct behavior. See here