Stationary region detection in video surveillance