Based on optical coherence tomography (OCT) imaging of a portion of an eye, a mask of an anatomical feature is derived. Using the mask as a reference, a scan path is determined that is at least partially fitted to and/or partially enclosing the mask. OCT scan data corresponding to the scan path is acquired and analyzed to detect optic neuropathies.