The invention discloses a Mars transverse wind ridging few-sample
remote sensing interpretation method and
system based on an SAM model. According to the method, contrast stretching preprocessing is carried out on an original Mars image, a dual-
branch feature fusion framework based on VIT and CNN is constructed to extract and fuse image features, a position coding generator is introduced to support input of any size, a fine-tuning SAM strategy of a selective freezing
encoder and a trainable
mask decoder is adopted, and LoRA low-rank
adaptation optimization calculation is combined, so that the Mars image is obtained. And a double-
branch prompt generation module is used for fusing labeled and unlabeled data to generate a high-precision prompt, and finally, an interpretation result is output through a
mask decoder and
connected component analysis is carried out, so that instance-level labeling is realized. The
system comprises an image preprocessing module, a double-
branch feature extraction and fusion module, an image embedding generation module, a model
fine tuning module, a prompt embedding generation module and an interpretation module. According to the method, the recognition precision and robustness of the mars transverse wind
ridge formation under the condition of few samples are effectively improved.