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

조회 수: 1 (최근 30일)
an algorithm that can take gray scale and color image as
an input and perform segmentation of foreground and background objects in that image.

채택된 답변

Image Analyst
Image Analyst 2014년 5월 25일
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
tanveer jam
tanveer jam 2014년 5월 25일
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 2014년 5월 25일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by