Inhomogeneities in the refractive index of a biological microscopy sample can introduce phase aberrations, severely impairing the quality of images. Adaptive optics can be employed to correct for phase aberrations and improve image quality. However, …