Abe404 / root_painter

RootPainter: Deep Learning Segmentation of Biological Images with Corrective Annotation
https://nph.onlinelibrary.wiley.com/doi/full/10.1111/nph.18387
Other
58 stars 17 forks source link

mask images #66

Closed Abe404 closed 1 year ago

Abe404 commented 1 year ago

It can sometimes be useful to use a segmentation to mask out features of an image, i.e to remove noise or background as part of a localization stage in a two stage segmentation pipeline. See https://github.com/Abe404/root_painter/discussions/58#discussioncomment-3954315 for an example where this has been used.

Doing this is not fully possible in RootPainter and requires additional scripting. An option could be added to the software to mask images with segmentations. The code has already been written. See https://github.com/Abe404/im_mask/blob/main/main.py This could be added as an option from the extras menu.

Abe404 commented 1 year ago

addressed in https://github.com/Abe404/root_painter/commit/24fcd10f32fb14fc038b16df13cfa4b0ec52c7f0

Abe404 commented 1 year ago

Available in https://github.com/Abe404/root_painter/releases/tag/0.2.21