Shoreline segmentation is a specialized task within the broader field of water body segmentation in remote sensing and computer vision. While water body segmentation refers to the process of delineating all water-covered areas (such as lakes, rivers, and seas) within an image,[1] shoreline segmentation specifically targets the precise extraction of the boundary line between land and water—known as the shoreline.[2]
Shoreline, as the land-water interface, is the home (within 100 km) to more than 2 billion people globally.[3] Accurately segmenting shorelines is essential for numerous environmental, engineering, and geospatial applications, including coastal monitoring, change detection, habitat assessment, and disaster response.[4][5][6] Unlike general water body segmentation, shoreline segmentation places a high priority on the accurate localization of edges, particularly those that do not coincide with the image boundary.[7] These internal shoreline edges are crucial for quantifying shoreline change, calculating erosion rates, and supporting hydrodynamic modeling.
Traditional evaluation metrics for image segmentation, such as Intersection over Union (IoU) and pixel accuracy, are designed to assess the overall overlap between predicted and ground truth regions.[8] However, these metrics do not fully capture the accuracy of the shoreline itself, especially the quality of the detected edge within the interior of the image.[9][10] This is because a model may achieve high IoU or pixel accuracy by correctly labeling large water and land regions while still producing significant errors along the critical shoreline boundary.
To address this limitation, additional edge-focused evaluation measures—such as boundary IoU, Frechet and Hausdorff distance, or contour-based accuracy—are increasingly used to assess shoreline segmentation performance. [11]These specialized metrics are better suited for evaluating how closely the predicted shoreline matches the actual shoreline, which is often the most important aspect for practical coastal and environmental analysis.
Dataset
Several datasets have been developed for shoreline segmentation and related tasks. For shoreline segmentation specifically, the Coastal Aerial Imagery Dataset (CAID) was released in August 2025, comprising more than 20,000 manually annotated coastal aerial images dedicated to shoreline mapping.[7]
For multi-label datasets that include shoreline areas, examples include DeepGlobe,[12]ATLANTIS,[13] and GID. [14]These datasets contain hundreds to thousands of images featuring water–land interfaces; however, they were not explicitly designed for shoreline segmentation, as water is only one among many land cover classes represented.
Other datasets focus on water–land interaction zones, such as Sen1Floods11,[15]UrbanSARFloods,[16]DaliWS,[17]S1S2-Water,[18]WaterNet,[19] and SWED.[20] While these collections emphasize aquatic and flood environments, they are not tailored for shoreline segmentation and thus do not encompass the full diversity of shoreline landscapes.
^Aktaş, Ümit Ruşen; Can, Gülcan; Vural, Fatoş T. Yarman (November 2012). "Edge-aware segmentation in satellite imagery: A case study of shoreline detection". 7th IAPR Workshop on Pattern Recognition in Remote Sensing (PRRS). pp. 1–4. doi:10.1109/PPRS.2012.6398319. hdl:11511/69553. ISBN978-1-4673-4962-8.