Optical coherence tomography (OCT) scan data is used to automatically detect and characterize vitreoretinal membranes in a spatially precise manner to generate a mask image. The mask image may characterize various aspects of a vitreoretinal membrane. The mask image is then overlaid with an optical image of the retina to enable visualization of the vitreoretinal membrane.