Improve motion detection system, imagediff