Rapid and accurate extraction of disaster-affected patches is of great importance. This study focuses on the extraction of flooded road patches and proposes a method based on the Segment Anything Model, which utilizes the semantic segmentation results obtained from the BiSeNet V2 model as prompt cues for the model. To better integrate the two models, a Prompt Conversion Module is designed to convert the semantic segmentation results into prompt cues, and the SAM model is fine-tuned accordingly. Additionally, a Semantic Fusion Module is introduced to incorporate semantic information from the segmentation results and BiSeNet V2. To validate the effectiveness of the proposed approach, experiments are conducted on the publicly available FloodNet dataset. The results demonstrate that the proposed method not only achieves faster and more accurate extraction of flood-affected patches but also provides corresponding semantic classification information for the extracted patches.
|