This invention belongs to the field of semantic segmentation technology, proposing a semantic segmentation method and
system based on multi-scale
semantic enhancement. The method includes: constructing a multi-scale semantic segmentation model; acquiring an input image and inputting it into a
backbone network for
feature extraction, obtaining a shallow feature map containing
spatial structure information and a deep feature map containing high-level
semantic information; inputting the deep feature map into a multi-scale
semantic enhancement module for multi-scale modeling enhancement, obtaining deep enhanced features; inputting the deep enhanced features into a multi-scale context aggregation module for global
semantic integration, obtaining integrated features; inputting the shallow feature map and integrated features into a
feature fusion module for
feature fusion, obtaining fused features; and inputting the fused features into a classification output module for classification
processing and outputting pixel-level semantic segmentation results. This invention solves the problems of insufficient multi-scale modeling capability, inadequate representation of structural information, and difficulty in balancing accuracy and efficiency in existing semantic segmentation methods.