Development of an automated method for detecting abnormal blood vessels on retinal images