napari_cellseg3d.code_models#

This folder contains the code used by models in the plugin.

  • models folder: contains the model classes, which are wrappers for the actual models. The wrappers are used to ensure that the models are compatible with the plugin.

  • model_framework.py: contains the code for the model framework, used by training and inference plugins

  • worker_inference.py: contains the code for the inference worker

  • worker_training.py: contains the code for the training worker

  • instance_segmentation.py: contains the code for instance segmentation

  • crf.py: contains the code for the CRF postprocessing

  • worker_utils.py: contains functions used by the workers

Modules

napari_cellseg3d.code_models.crf

Implements the CRF post-processing step for the W-Net.

napari_cellseg3d.code_models.instance_segmentation

Instance segmentation methods for 3D images.

napari_cellseg3d.code_models.model_framework

Basic napari plugin framework for inference and training.

napari_cellseg3d.code_models.models

Contains model code and wrappers for the models, as classes.

napari_cellseg3d.code_models.worker_inference

Contains the InferenceWorker class, which is a custom worker to run inference jobs in.

napari_cellseg3d.code_models.worker_training

Contains the workers used to train the models.

napari_cellseg3d.code_models.workers_utils

Several worker-related utilities for inference and training.