The invention discloses a lightweight
optic disc segmentation method and
system, and relates to the technical field of medical
image segmentation. Comprising the following steps: carrying out data enhancement
processing on a public
data set iChallenge-PM, an iChallenge-AMD and a Drishiti-GS; a lightweight segmentation model is constructed, and the model comprises a C2f module used for extracting and fusing eye
fundus image features; a GlobalEdgeInformationTransfer module, which is used for enhancing the edge
feature extraction and the multi-scale fusion of the eye
fundus image; the
Wavelet Pooling module is used for realizing eye
fundus image resolution conversion by using a fixed
wavelet filter and reducing trainable parameters; and the C2fgConv module introduces a gating mechanism to optimize eye fundus image
feature extraction and reduce parameter quantity. Through multi-scale
feature extraction and fusion, WaveletPooling application and C2fgConv design, while the
optic disk segmentation precision is ensured,
model parameters are effectively reduced, light weight is realized, the training efficiency and generalization ability are improved, and the method is suitable for
optic disk segmentation tasks under different resource conditions.