Automatic Segmentation of Ships in Digital Images