One way to diagnose Diabetic retinopathy is to segment the blood vessels of the retinal image, however, retinal images obtained from the DRIVE and STARE datasets have varying contrasts, so image quality improvements are needed to obtain stable contrast results. The image quality improvement is carried out using the contrast stretching method and continued with the segmentation process using the…