IntroductionBy using spectral domain optical coherence tomography (SD-OCT) to measure retinal blood vessels. The correlation between the changes of retinal vascular structure and the degree of diabetic nephropathy is analyzed with a full-pixel Semantic segmentation method.MethodsA total of 120 patients with diabetic nephropathy who were treated in the nephrology department of Quzhou People’s Hospital from March 2023 to March 2024 were selected and divided into three groups according to the urinary albumin creatinine ratio (UACR). The groups included simple diabetes group (UACR < 30 mg/g), microalbuminuria group (30 mg/g ≤ UACR <300 mg/g) and macroalbuminuria group (UACR ≥300 mg/g). SD-OCT was used to scan the arteries and veins in the superior temporal area B of the retina. The semantic segmentation method built into the SD-eye software was used to automatically identify the morphology and structure of the vessels and calculate the parameters of arteriovenous vessels. The parameters of arteriovenous vessels are as follows: outer diameter of the retinal artery (RAOD); inner diameter of the retinal artery (RALD); arterial wall thickness (AWT); arterial wall to lumen ratio (AWLR); cross sectional area of arterial wall (AWCSA); retinal vein outer diameter (RVOD); retinal vein inner diameter (RVLD); vein wall thickness (VWT); vein wall to lumen ratio (VWLR); cross sectional area of vein wall (VWCSA). Statistical analysis software was used to compare and analyze the parameters of retinal arteriovenous vessels of the three groups.ResultsThe study revealed statistically significant differences in RAOD and RALD among the three groups (p < 0.05) with the RAOD and RALD of the macroalbuminuria group and microalbuminuria group being lower than those of the simple diabetes group. Conversely, there were no significant differences in AWT, AWLR and AWCSA among the three groups (p > 0.05). Additionally, the differences in RVOD and RVLD among the three groups were found to be statistically significant (p < 0.05) with the RVOD and RVLD of the simple diabetes group being lower than those of the microalbuminuria group and macroalbuminuria group. No significant differences were observed in VWT and VWL among the groups. Additionally, RVOD and RVLD were weakly associated with UACR (R = 0.247, p = 0.007; R = 0.210, p = 0.021). Full-pixel semantic segmentation method combined with OCT images is a new retinal vascular scanning technology, which can be used as a new method for early diagnosis of diabetic nephropathy. The structural changes of retinal vessels can be used to predict the severity of diabetic nephropathy during the development of diabetic nephropathy.