This script demonstrates how graph theory can be used to segment retinal layers in optical coherence tomography images. The method is based on
Chiu SJ et al, Automatic segmentation of seven retinal layers in SDOCT
images congruent with expert manual segmentation, Optics Express, 2010;18(18);19413-19428
run the script by pressing F5.
I am working on a more comprehensive open source software package for computer-aided segmentation of retinal layers in optical coherence tomography images, which currently includes 1. automated segmentation of 6 reitnal layers and 2. GUI for examination and manual correction of the automated segmentation. It can be downloaded at my github page. http://pangyuteng.github.io/caserel