pyalfe.tasks.skullstripping#
- class pyalfe.tasks.skullstripping.Skullstripping(inference_model: InferenceModel, image_processor: ImageProcessor, pipeline_dir: PipelineDataDir, modalities: list[Modality], overwrite: bool = True)[source]#
Bases:
Task
This task performs skullstripping for all the modalities.
- inference_model#
The inference model object.
- Type:
- image_processor#
The image processor object.
- Type:
- pipeline_dir#
The pipeline data directory object.
- Type:
- overwrite#
Whether to overwrite any existing output image. Default is True.
- Type:
bool
- logger = <Logger Skullstripping (DEBUG)>#