lazyslide.models.segmentation.Instanseg#
- class Instanseg(model_file=None)#
Bases:
SegmentationModelGitHub Paper Params: 3.8M FLOPs: 27.55G Apache 2.0 [Goldsborough et al., 2024] An embedding-based instance segmentation algorithm optimized for accurate, efficient and portable cell segmentation. Apply the InstaSeg model to the input image.
- check_input_tile(tile_spec)#
A helper function to check if the input tile size is valid.
Return True if the input tile size is valid. And the model will be executed. Add a warning here if the input is not optimal but still can be executed.