How to separate the foreground from the background in an image?
Show older comments
Hi,
I am working on a project related to image matting. I am trying to separate the foreground of an image from the background. Can anybody please help?
1 Comment
Image Analyst
on 4 Jan 2014
Most likely, if you supply more information such as an image and a description of what is the foreground and what is the background and what you want to measure (area, count, perimeter, color, etc.)
Accepted Answer
More Answers (1)
Walter Roberson
on 4 Jan 2014
0 votes
There are a number of "optical illusions" around that prove that there is no objective meaning to "foreground" and "background". What is "foreground" in one interpretation might be "background" in a different interpretation of the same image.
3 Comments
Image Analyst
on 4 Jan 2014
I'm planning on giving a seminar on optical illusions in a couple of months. What are some good examples of that?
Also, if you have any images of "one-eyed stereo" illusions, I'd appreciate knowing where (I have only a few and don't remember where I got them).
Walter Roberson
on 4 Jan 2014
I am thinking of a couple of the usual suspects, Necker Cubes, "The Young Lady and the Old Crone", the Chalice.
Image Analyst
on 4 Jan 2014
Edited: Image Analyst
on 4 Jan 2014
Thanks for those. By the way, there is some research into "Main Subject Detection" - I think by those involved in stockphotography databases (CBIR) and camera manufacturers:
Also, attached is an example that I've collected of one-eyed 3D. Blow it up full screen, it looks fairly planar with both eyes open, then close one eye and it looks more 3D-like than if both eyes are open.
Categories
Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!