Accurate and reliable segmentation of the optic disc in digital fundus images