Compensate for luminance in motion calculation