In visual surveillance applications stationary cameras or pan-tilt-zoom (PTZ) cameras are used to monitor activities at outdoor or indoor sites. Since the cameras are stationary, the detection of moving objects can be achieved by comparing each new frame with a representation of the scene background. This process is called background subtraction and the scene representation is called the background model. The scene here is assumed to be stationary or quasi stationary.