Gravar-mail: Automatic cone photoreceptor segmentation using graph theory and dynamic programming