A method for reducing optical distortion within an optical system
employing adaptive optics, includes modifying phase of a wavefront of the
optical system with a wavefront coding element. Image data of the optical
system is post-processed to remove phase effects induced by the wavefront
coding element, to reduce optical distortion caused by the adaptive
optics and associated with one or more of quilting, stuck actuator and
piston error.