How to recognize the boundary of an object

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

We will need some sample images to assist you, as different techniques are required for different situations.

Sign in to comment.

 Accepted Answer

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

roro, are you still alive?
yea I am. Sorry for the late reply. N thanx. Ur ans worked :)

Sign in to comment.

More Answers (0)

Categories

Asked:

on 13 Jan 2014

Commented:

on 16 Jan 2014

Community Treasure Hunt

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

Start Hunting!