Implemented morphological filter to improve false positive cloud detection
robbibt opened this issue · 1 comments
robbibt commented
Morphological operators can be used to remove false positive cloud detection along long, narrow bright sandy beaches. For example:
This recipe makes the largest difference to overall accuracy:
# Close mask to remove small holes in cloud, open mask to
# remove narrow false positive cloud, then dilate
mask = odc.algo.binary_closing(mask, 2)
mask_cleaned = odc.algo.mask_cleanup(mask, r=(10, 10))
robbibt commented
Implemented in the version 1.0.0 release of Coastlines