extracting a person from an image

i have a gray scale image and i want to extract the person in it from its backgroud can some help me how to do this in matlab. i want to calculate the area occupied bu that person

Answers (2)

Xavier
Xavier on 10 Dec 2014
Hello,
Is your background uniform? If that is the case I suggest you use edge detection to retrieve the shape of your "person". Once it's done you will easily be able to fill that shape and count the number of pixel, giving you an idea of the area occupied by this person on your image.
nouman ali
nouman ali on 10 Dec 2014
i used prewitt edge detection technique but the edges are not quiet unique. can u give me the matlab code to do this

Tags

Asked:

on 10 Dec 2014

Answered:

on 10 Dec 2014

Community Treasure Hunt

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

Start Hunting!