A modular supervised algorithm for vessel segmentation in red-free retinal images