Determining the Optimal MNDWI Threshold and Canny Edge Detection Optimization for Shoreline Extraction at Widuri Beach, Pemalang
Keywords:
shoreline extraction, MNDWI, Canny edge detection, threshold, Sentinel-2CAbstract
Accurate monitoring of shoreline changes is crucial because coastal areas are dynamic and vulnerable to both natural and anthropogenic factors. One commonly used method for shoreline extraction from satellite imagery is the Modified Normalized Difference Water Index (MNDWI), however, its accuracy is strongly influenced by the choice of threshold values. This study compares standard, Otsu, and manual threshold values, and analyzes the effect of Canny Edge Detection to obtain an optimal shoreline in the Widuri Beach study area. The results show that manual thresholding (T=−0.18) yields the highest accuracy compared to standard and Otsu thresholding, achieving a mean error of 8.803 meters, an RMSE of 10.273 meters, and a CE90 of 15.6 meters. In contrast, standard and Otsu thresholding produce relatively high positional errors with a tendency toward seaward bias. Integrating Canny Edge Detection following manual thresholding enhances shoreline continuity and accuracy, reducing the mean error to 6.838 meters, the RMSE to 8.298 meters, and the CE90 to 12.592 meters, while improving the map accuracy classification from Class 3 to Class 2 at a 1:25.000 Indonesian Topographic Map (RBI) scale.










