cc-ai / kdb

AI can help Visualizing the Impacts of Climate Change. This is an open forum to share our work
https://mila.quebec/en/ai-society/visualizing-climate-change/
Apache License 2.0
18 stars 3 forks source link

Ground/Flood masks postprocessing #129

Open melisandeteng opened 4 years ago

melisandeteng commented 4 years ago

There are two main things for which postprocessing steps could be used in ground/flood masks obtained with Deeplab models:

Ideas for criteria

Shivamshaiv commented 4 years ago

The method of dealing with such problems, in general, would be to use a combination of the distance transform of the binary marks and followed by morphological erosion and dilation. The best function implementation to do these tasks would be

  1. scipy.ndimage.morphology.distance_transform_edt
  2. skimage.morphology.remove_small_objects