Shoreline Extraction Based on an Active Connection Matrix (ACM) Image Enhancement Strategy