how to make movining object completly white for tracking

i have made real time motion detection code its working ok but when every thing is still i get image like this:
why isn't the back ground completly black?
when motion detected it like this:
which is fine
for tracking i do i need the moving object to be completely white??
here's my code:
plz help my project is getting delayed :(

1 Comment

The bottom image does show as completely white where there is a difference, like you want, so what's the problem?

Sign in to comment.

Answers (0)

Categories

Find more on Image Processing and Computer Vision in Help Center and File Exchange

Asked:

on 13 Dec 2014

Commented:

on 13 Dec 2014

Community Treasure Hunt

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

Start Hunting!