add distortion correction and illumination correction