How to recognize the boundary of an object

2 views (last 30 days)
Please let me know How to recognize the boundary of an object and determine the object area from that of an image in matlab. Thanks.
  1 Comment
Walter Roberson
Walter Roberson on 13 Jan 2014
We will need some sample images to assist you, as different techniques are required for different situations.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 13 Jan 2014
Assuming you have already segmented your object into foreground and background (you have a binary image), then try bwboundaries() to get a list of (x,y) coordinates, or bwperim() to get an image of the perimeter.
  2 Comments
roro6992
roro6992 on 16 Jan 2014
yea I am. Sorry for the late reply. N thanx. Ur ans worked :)

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!