Luminance contrast and motion detection