====== Image segmentation ====== In the following, an example is given how to identify two dimensional objects like clouds or cold pools in numerical model output or satellite images. For this purpose, the python tools used by [[https://journals.ametsoc.org/doi/pdf/10.1175/MWR-D-17-0378.1 | Senf et al. (2018)]] are used. Fabian Senf from TROPOS in Leipzig developed a python tool package for image segmentation which is easy to use. A detailed description on how to apply the so called watershed segmentation technique to identify cold pools in output from ICON-LEM is given on this [[https://code.mpimet.mpg.de/projects/hd-cp-2-s5/wiki/Cold_pools_DE_sims | redmine page]].