Segmentation of the blood vessels and optic disk in retinal images