The invention discloses a
remote sensing image semantic segmentation method based on a multi-stage
subtitle-driven
diffusion model, and the method comprises the steps: firstly obtaining an original
remote sensing image semantic segmentation
data set, designing an instance segmentation strategy, and obtaining a
remote sensing single-target instance sub-image
data set; secondly, providing a two-stage remote sensing semantic
subtitle generation
algorithm, and migrating a pre-training
diffusion model based on Stable
Diffusion to a remote sensing scene by combining a
cutting instance and a conditional
fine tuning strategy to obtain a
diffusion model adaptive to the remote sensing scene; thirdly, constructing a multi-layer weighted attention image-semantic
mask joint generation framework based on the adaptive model, and generating a high-quality remote sensing target image and a semantic
mask; then, providing a cross-scale semantic constraint
data synthesis method based on a ground sampling distance to obtain enhanced remote sensing image data; and finally, training a divider by using the enhanced data to realize accurate semantic segmentation of the remote sensing image. The method can effectively alleviate the dependence of
annotation data, and improves the segmentation precision and scene adaptability.