Single-image water surface reflection and shadow removal via gradient-color guided region-growing segmentation and inpainting
Reflections and shadows on water surfaces hinder the extraction of valuable information and make computer algorithms produce imperfect results, yet research on effectively removing them from water surfaces remains scarce. In this paper, we present an innovative algorithm that simultaneously removes both reflections and shadows from a single image. The algorithm begins by lowering the overly high V components of pixels in the HSV space to preliminarily remove reflections. Then a novel gradient-color guided region-growing segmentation and inpainting method is applied. This method defines a local cost that integrates gradient magnitude, gradient direction, and color information, enabling precise segmentation and inpainting of reflections and shadows on water surfaces. Experimental results demonstrate the algorithm’s effectiveness in complex scenarios. This approach not only removes reflections and shadows but also shows potential for applications like riverbank line identification, making it valuable for downstream tasks such as recognition and tracking.
Authors
- Jianxin Jiao (ORCID: https://orcid.org/0000-0002-9832-7276)
- Rui Gao (ORCID: https://orcid.org/0000-0003-0021-3527)
- Wang Fei (ORCID: https://orcid.org/0000-0003-0478-7085)
Institutions
- Shanghai Jiao Tong University (CN)
Publication Details
- Published
- 2025-08-29
- DOI
- https://doi.org/10.1117/12.3075133
- Primary Topic
- Image Enhancement Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00