Segmentation of foreground and background objects from an image code gray scale and color image.pease help me with code

1 vue (au cours des 30 derniers jours)
an algorithm that can take gray scale and color image as
an input and perform segmentation of foreground and background objects in that image.

Réponse acceptée

Image Analyst
Image Analyst le 25 Mai 2014
That pretty much describes all of image segmentation and tens of thousands of algorithm do that. I don't even have access to them all. You'll have to be more specific - it's just too vague to even give an answer other than "You can use image processing".
Here, read this: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer then attach an image and say what you want to segment since for many images what is considered foreground is a matter of opinion. It may have to do with color rather than distance from the camera for example. If you have an image of apples far away, and blueberries close to the camera and they're both on a table, can you tell me what's the foreground or what you want to measure? No. There's no obvious answer.
  2 commentaires
tanveer jam
tanveer jam le 25 Mai 2014
I want basic level approach for example image of a person. in this we consider a person in a image is foreground and all things other than person are to b considered as background.i need segmentation for segmentation of like this foreground and for this type of background.
Image Analyst
Image Analyst le 25 Mai 2014
For basic segmentation of bright or dark objects on a uniform background, see my Image Segmentation Tutorial. For basic color segmentation, also see my tutorials. They're in my File Exchange http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by