MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today
Asked by Cesar on 5 Feb 2013

how to obtain image boundary of an image?

Answer by Image Analyst on 5 Feb 2013

Accepted answer

You haven't explained this well enough to answer. The answer could be to use bwperim(), or bwboundaries(), or just to take the first and last row and first and last column. Are you going to explain further what you want?

Show 23 older comments

## 2 Comments

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/62225#comment_127624

Hi Cesar, you have to specify your problem, give an example with per example "circuit.tif" so everyone can work on it instead of image taken from web .

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/62225#comment_127640

By example consider an image with 4 birds (bird.tif), and I want to add of of those birds to the same image which now has 5 birds. Let me know if that is clear.