Shouldn’t a contour have at least three points?
on what data does this happen? show the data. show where this single-point contour would be in the picture.
Thank you for your reply! Maybe I have found the answer in the paper “Topological Structural Analysis of Digitized Binary Images by Border Following”