segmentation strategies
Defines all options you can use for segmentation of your preprocessed image data (findmycells.segmentation.strategies)
Deepflash2SemanticSegmentationStrat
Deepflash2SemanticSegmentationStrat ()
Run semantic segmentation using deepflash2. Requires that you have already an ensemble of trained models ready to use and to provide the path to the directory where these models can be found. If you choose to process the files in your project in smaller batches (which is highly recommended, due to a huge memory load), make sure to run the segmentations “strategy-wise” in the processing configs below before launching the processing (i.e. keep the box checked).
LosslessConversionOfDF2SemanticSegToInstanceSegWithCPStrat
LosslessConversionOfDF2SemanticSegToInstanceSegWithCPStrat ()
Extending the ProcssingStrategy
base class for segmentation as processing subtype. Also adding another property that denotes the type of segmentation (i.e. instance or semantic).