1. A method of determining the point spread function at a specified point in an optical image, the method comprising: generating a data structure associating predetermined point spread functions with predetermined points in the optical image; and determining the point spread function at the specified point according to the predetermined point spread functions, wherein the point spread function associated with the specified point is not stored in the data structure.