Detection of seagrass scars using sparse coding and morphological filter