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 commentaire

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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Image Processing and Computer Vision dans Centre d'aide et File Exchange

Commenté :

le 13 Déc 2014

Community Treasure Hunt

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

Start Hunting!

Translated by