Method for segmentation of the layers in the outer retina