Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitk::MultiLabelMaskGenerator Class Reference

Class that allows to generate masks (for statistic computation) out of multi label segmentations. More...

#include <mitkMultiLabelMaskGenerator.h>

Inheritance diagram for mitk::MultiLabelMaskGenerator:
Collaboration diagram for mitk::MultiLabelMaskGenerator:

Public Member Functions

 mitkClassMacro (MultiLabelMaskGenerator, MaskGenerator)
 
unsigned int GetNumberOfMasks () const override
 
virtual void SetMultiLabelSegmentation (const LabelSetImage *_arg)
 
- Public Member Functions inherited from mitk::MaskGenerator
 mitkClassMacroItkParent (MaskGenerator, itk::Object)
 
mitk::Image::ConstPointer GetMask (unsigned int maskID)
 GetMask returns the requested (multi) label mask. More...
 
virtual mitk::Image::ConstPointer GetReferenceImage ()
 GetReferenceImage per default returns the inputImage (as set by SetInputImage). If no input image is set it will return a nullptr. More...
 
virtual void SetInputImage (const mitk::Image *_arg)
 SetInputImage is used to set the input image to the mask generator. Some subclasses require an input image, others don't. See the documentation of the specific Mask Generator for more information. More...
 
virtual void SetTimePoint (TimePointType _arg)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 MultiLabelMaskGenerator ()=default
 
 ~MultiLabelMaskGenerator ()=default
 
Image::ConstPointer DoGetMask (unsigned int maskID) override
 DoGetMask must be overridden by derived classes. More...
 
- Protected Member Functions inherited from mitk::MaskGenerator
 MaskGenerator ()
 

Additional Inherited Members

- Protected Attributes inherited from mitk::MaskGenerator
TimePointType m_TimePoint
 
mitk::Image::ConstPointer m_InputImage
 

Detailed Description

Class that allows to generate masks (for statistic computation) out of multi label segmentations.

Definition at line 26 of file mitkMultiLabelMaskGenerator.h.

Constructor & Destructor Documentation

◆ MultiLabelMaskGenerator()

mitk::MultiLabelMaskGenerator::MultiLabelMaskGenerator ( )
protecteddefault

◆ ~MultiLabelMaskGenerator()

mitk::MultiLabelMaskGenerator::~MultiLabelMaskGenerator ( )
protecteddefault

Member Function Documentation

◆ DoGetMask()

Image::ConstPointer mitk::MultiLabelMaskGenerator::DoGetMask ( unsigned int  maskID)
overrideprotectedvirtual

DoGetMask must be overridden by derived classes.

Parameters
maskIDParameter indicating which mask should be returned.
Returns
mitk::Image::Pointer of generated mask requested

Implements mitk::MaskGenerator.

◆ GetNumberOfMasks()

unsigned int mitk::MultiLabelMaskGenerator::GetNumberOfMasks ( ) const
overridevirtual

Implements mitk::MaskGenerator.

◆ mitkClassMacro()

mitk::MultiLabelMaskGenerator::mitkClassMacro ( MultiLabelMaskGenerator  ,
MaskGenerator   
)

Standard Self typedef

◆ New()

static Pointer mitk::MultiLabelMaskGenerator::New ( )
static

◆ SetMultiLabelSegmentation()

virtual void mitk::MultiLabelMaskGenerator::SetMultiLabelSegmentation ( const LabelSetImage _arg)
virtual

The documentation for this class was generated from the following file: