Detection of optic disc based on a directional model of vascular network