Shoreline extraction based on an active connection matrix (ACM) image enhancement strategy