Ask Your Question

Revision history [back]

You are right - it was because of the Canny function. When I removed it there are no more double contours per shape. For binary images the Canny is not needed I guess.