Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

how to obtain image boundary of an image?

Asked by Cesar on 5 Feb 2013

how to obtain image boundary of an image?

2 Comments

Youssef KHMOU on 6 Feb 2013

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 .

Cesar on 6 Feb 2013

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.

Cesar

1 Answer

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?

26 Comments

Cesar on 6 Feb 2013

Where can I send you the image?

Image Analyst on 6 Feb 2013

You don't need to send it. Just tell me its URL so we can find it.

Image Analyst

Contact us