A smooth vector field tends to zero-out regions where no motion is detected leaving only limited areas ofnon-zero vector fields. In the Simulink model of our surveillance system, this smoothness factor is inversely proportionally to the magnitude of the velocity gradients.