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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Gefragt:

am 13 Dez. 2014

Kommentiert:

am 13 Dez. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by