Gravar-mail: Length-adaptive graph search for automatic segmentation of pathological features in optical coherence tomography images