how to subtract background image

2 次查看(过去 30 天)
i need only that person

回答(2 个)

Walter Roberson
Walter Roberson 2016-2-20
imsubtract()
Note that background subtraction does not itself locate any object or trim away background: after you have done the subtraction you need to do that. In your case, you essentially have no background and should proceed directly to locating the object.

Image Analyst
Image Analyst 2016-2-21
See my Image Segmentation Tutorial for guidance on how to threshold a bright object on a dark background and then crop out that bright blob.

Community Treasure Hunt

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

Start Hunting!

Translated by