Can any one plz explain the output returned by the imcontour(I,1) function.

1 view (last 30 days)
I want to find the contour of a binary image and on those contour pixels I have to extract the features.
When I used imcontour(I,1) function it gave me 2D vector which I am am not getting as how to use it in my problem. Kindly help.

Answers (1)

Walter Roberson
Walter Roberson on 16 Mar 2016
Are you using
C = imcontour(I,1);
so the "2D vector" you are referring to is the Contour Matrix? Contour Matrix are explained over here

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!