Water Extraction from Near-Ground and Aerial Flood Imagery Through Semantic–Spatial Coordination with SAM3
Rapid extraction of visible floodwater from near-ground and aerial imagery supports disaster assessment and emergency mapping. With a single text prompt, frozen vision foundation models can miss water or return entirely empty outputs, leaving insufficient initial candidates for automatic spatial re-prompting. We propose a method based on Segment Anything Model 3 (SAM3), termed Semantic–Spatial Complementation and Recovery for SAM3 (SSCR-SAM3). The complementary text prompts "water" and "flood water" generate initial water candidates. Valid connected components are converted automatically into boxes for two-stage inference with joint text and spatial prompts on the full image. Initial foreground retention reduces coverage loss in the second prediction, and an empty regular output triggers conditional recovery at a preset lower threshold. The method keeps SAM3 pretrained weights frozen and requires neither target-task training nor per-image manual prompts. On 1040 near-ground flood images from Deepflood, the complete method increased pooled water intersection over union (IoU) from 83.91% with the default single-text configuration to 88.17%, while reducing empty outputs from 62 to 10. Applying the same fixed configuration to the 94 official aerial test images in AIFloodSense increased pooled water IoU from 42.88% to 78.13% and recall from 43.12% to 81.12%, with precision reaching 95.49%. Empty outputs decreased from 34 to 2, and per-image IoU improved in 90 images. The complete aerial inference procedure had a mean inference-component time of 566.98 ms, approximately 2.55 times that of the official default configuration. These results show that semantic complementarity, candidate-driven spatial refinement, and conditional recovery improve visible-water extraction from red, green, and blue (RGB) flood imagery acquired from different viewpoints without target-domain retraining. The method provides a reusable segmentation procedure for rapid flood assessment.
Authors
- Tianmin Deng (ORCID: https://orcid.org/0000-0003-0511-0519)
- Jiajun He (ORCID: https://orcid.org/0009-0004-3031-7305)
Publication Details
- Journal
- Preprints.org
- Published
- 2026-12-02
- DOI
- https://doi.org/10.20944/preprints202612.0151.v1
- Primary Topic
- Flood Risk Assessment and Management
- Type
- preprint