body detection

4 views (last 30 days)
Hd Fr
Hd Fr on 3 May 2012
i want to detect a body in a video but after the background substraction and applying all filter some time there is still some noise and the bounding box is missing the body and covering other parts or a bigger box so i need a code or some hints on how to detect the region of the most black and so i can calculate the bounding for more accurate results . please i need help soon

Answers (2)

Image Analyst
Image Analyst on 4 May 2012
Of if you already have the body well segmented and just need to get rid of small noise blobs, you can use bwareaopen().

Hd Fr
Hd Fr on 4 May 2012
no it is just a simple code i worked on i didnt follow any algorithm cuz im new to matlab and didnt find any code to help this is the code http://pastebin.com/gFeh13Jp

Community Treasure Hunt

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

Start Hunting!