edit-hidden objects
Show older comments
I have uploaded an image ,please tell is it possible to find the shape of hidden object,or is it possible to draw boundaries for those images,by different colours for each image
Answers (1)
Walter Roberson
on 19 Jan 2012
0 votes
No. We have no way to prove that the bottle that is further back does not have a handle cut in to it or coming out of it.
11 Comments
kash
on 20 Jan 2012
Walter Roberson
on 20 Jan 2012
You can draw the boundaries of two non-overlapping objects in an image.
If the objects are overlapping, then you _might_ be able to figure out the *visible* edge of the top image, by using something like a watershed algorithm.
In order to have any hope of drawing the boundary of a hidden portion of an object, you need a bunch of restrictions on what that object can look like. In a case such you have presented, where all we are given is that there _are_ two objects, there is no way to draw the boundary of the hidden portion of the object.
kash
on 21 Jan 2012
Walter Roberson
on 21 Jan 2012
If the objects are overlapping, then you _might_ be able to figure out the *visible* edge of the top image, by using something like a watershed algorithm.
kash
on 21 Jan 2012
Walter Roberson
on 21 Jan 2012
If watershed works for you, it will create a separation line. You use the separation line as the boundary for both the fully visible and partly hidden areas.
kash
on 23 Jan 2012
Walter Roberson
on 23 Jan 2012
http://www.mathworks.com/matlabcentral/answers/?term=tag%3A%22watershed%22
kash
on 25 Jan 2012
kash
on 25 Jan 2012
Walter Roberson
on 25 Jan 2012
11 seconds of searching:
http://www.mathworks.com/products/image/demos.html?file=/products/demos/shipping/images/ipexwatershed.html
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!