Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Contour ordering

Is there any guarrantee about the ordering of contours in FindContours()?

The result are 'almost' ordered by image row of the first point - except for a few percent which aren't !
Is this a bug, is the ordering a weak side effect of the algorithm or are they ordered by some other criteria?

Contour ordering

Is there any guarrantee guarantee about the ordering of contours in returned by FindContours()?

The result are 'almost' ordered by image row of the first point - except for a few percent which aren't !
Is this a bug, is the ordering a weak side effect of the algorithm or are they ordered by some other criteria?