Re: please help i am new need to find algorithm for background subtraction



"linux campus" <sharatkumar19@xxxxxxxxxxx> wrote in message <godf2j$lui$1@xxxxxxxxxxxxxxxxxx>...
hi
please help..
i don't know different methods in background subtraction for object detection and tracking to implement in matlab
can any help me in finding the algorithm.

thanks

The clue is in the name. In order to do background subtraction, you need to determine the background image. That is to say take an image (or better still many images) of the background, with no target in it.

Once you have that (or if you have several, just combine them in an appropriate way, maybe simply average them).

When your target comes into view then simply subtract your new image from your (mean) background image and find the absolute value of each difference pixel, and there you go, a background subtracted image for you to play with.

Depending what you are doing, you will almost always run into trouble with illumination variation. e.g. suddenly the sun comes out and generates a nice bright patch on the otherwise empty wall Background subtraction will note this as a target, thus confusing your post subtraction tracking algorithm. You will need to make your process robust against such problems; e.g. using controlled lighting, etc.

Regards

Dave Robinson
.



Relevant Pages


Loading