1 | initial version |
Since last commit the image is copied internally because of a bug. So there is no freeman chain code returned any more. If you need it you can open an issue about that.
To your second question: If your object is not closed and has a width of one, the algorithm will check them twice. This is the correct behaviour because it traces the contour and terminates when the start point is reached again. If you want to eliminate them, for example you can map contour points back to an image and delete duplicates.