MATLAB Answers

Sayak
0

How to extract object after edge-detection?

Asked by Sayak
on 3 Dec 2012
Latest activity Answered by Mojeed Salmon Olatunde on 16 Dec 2016

I have a picture that consists of 4 people. My goal is to extract the four people based on the edge detection only. Is it possible? If yes how do I make the approach?

picture:: http://postimage.org/image/iri6wtrdl/

  0 Comments

Log in to comment.

2 Answers

Answer by Image Analyst
on 3 Dec 2012
 Accepted Answer

Threshold to find the people, then use watershed. See this for an example: http://blogs.mathworks.com/steve/2006/06/02/cell-segmentation/

  5 Comments

I have used sobel edge detection with threshold value of 0.15. Then used some methods to smoother the edges. Then plotted the image with bwboundary() to get the boundary of the images. But still some connected part is there.

Original image : http://postimage.org/image/iri6wtrdl/

plotted Image : http://s17.postimage.org/nnszu460v/untitled.jpg

That's because you haven't tried to implement Steve's example yet.

Yes, yes. Let me study it first. I'm coming back to this thread after few days. Anyways thanks again for always helping me out.

Log in to comment.


Answer by Mojeed Salmon Olatunde on 16 Dec 2016

Please after applying canny, and getting the edge, please how can I extract only the edge I get to aquire the pixels of edge only without background, and get the gray value of the pixels of edge only, without background.

  0 Comments

Log in to comment.


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

MATLAB Academy

New to MATLAB?

Learn MATLAB today!