An artery-vein classification using top-hat image and detection of arteriolar narrowing on retinal images