A retinal blood vessel segmentation approach based on top-hat transformation