Using contrast and directional information for retinal vessels segmentation