Systems and methods for improving ophthalmic imaging by correlating the location of a measurement on the pupil of the eye with a quality of the measurement and further controlling subsequent measurements based on the quality are presented. Aspects of the invention include obtaining optical coherence tomography (OCT) measurements through cataracts or other media opacities, obtaining B-scans with minimized tilt, and automated OCT data acquisition of select structures in the eye. Embodiments of the invention directed towards imaging tissues with angle dependent layer contrast and mapping the size and location of cataracts in the eye are also described.