An automatic graph-based approach for artery/vein classification in retinal images