Simulation of our pupil function recovery procedure and a comparison with blind deconvolution algorithms. (a) The Siemens star pattern used in the simulation. (b) The system’s pupil function and the associated PSF. (c) A series of images im,t(ξ, η)s captured with small masks Wm(u, v) applied to the pupil function. (d) An image captured with the full-pupil-sized mask An(u, v) on the pupil function, which simulates the general imaging scenario by an aberrated imaging system. (e) The system’s pupil function and PSF recovered by our procedure. They show high fidelity to the original functions in (b). (f) Blur functions recovered by MATLAB’s and Fergus et al.’s blind deconvolution algorithm, respectively. They both show poor reconstructions compared to the recovered PSF in (e).