Systems and methods for applying the concept of lightfield sensors to fundus photography are presented. In one embodiment, the ability to isolate specific regions of the collected lightfield are used to reduce the effects of glare in a fundus image. Additional embodiments in which aberrations can be characterized and removed, an image from a particular plane in the collected light field is used to aid in instrument alignment, and dynamic optimization of collection pupil diameter is accomplished are also presented.