How to separate the foreground from the background in an image?

2 次查看(过去 30 天)
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 个评论
Image Analyst
Image Analyst 2014-1-4
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.)

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2014-1-4

更多回答(1 个)

Walter Roberson
Walter Roberson 2014-1-4
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 个评论
Walter Roberson
Walter Roberson 2014-1-4
I am thinking of a couple of the usual suspects, Necker Cubes, "The Young Lady and the Old Crone", the Chalice.
Looking around briefly, the hollow Chaplin mask is good
I had not seen the Necker Lattice before.
Image Analyst
Image Analyst 2014-1-4
编辑:Image Analyst 2014-1-4
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by