if you're using photoshop, you could make a layer of the coastline, duplicate that to work from, while retaining the original for any additional processing needed to reintegrate your land and water as a unified height field map.