The invention discloses a non-
alcoholic fatty liver image grading method based on a
diffusion neural network, and belongs to the field of medical
image processing. The method comprises the following steps: collecting an abdominal
ultrasound image file of a patient, screening 10
layers of complete liver and
spleen continuous slices / frames, preprocessing, manually segmenting and marking, and constructing a special training
data set; constructing a
diffusion neural
network model containing
diffusion feature extraction, attention fusion and segmentation output modules, dividing a
data set, and carrying out 20 rounds of iterative training until convergence; and finally, carrying out 16 * 16 gridding
cutting on the segmented liver and
spleen mask pattern, randomly selecting 8 liver and 6
spleen sampling areas, carrying out weighted fusion on a gray mean and an ultrasonic
texture feature value to obtain a liver and spleen ultrasonic feature value, and realizing grading by calculating the ratio of the two. According to the method, the ultrasonic image characteristics are optimally designed, the segmentation precision is high, the sample adaptability is high, the grading result fits the clinical
pathological characteristics, and reliable
technical support is provided for non-invasive and accurate diagnosis of the non-
alcoholic fatty liver disease.