Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitk::MaskedDynamicImageStatisticsGenerator Class Reference

#include <mitkMaskedDynamicImageStatisticsGenerator.h>

Inheritance diagram for mitk::MaskedDynamicImageStatisticsGenerator:
Collaboration diagram for mitk::MaskedDynamicImageStatisticsGenerator:

Public Types

typedef itk::Array< double > ResultType
 

Public Member Functions

 mitkClassMacroItkParent (MaskedDynamicImageStatisticsGenerator, itk::Object)
 
virtual void SetDynamicImage (const Image *_arg)
 
virtual const ImageGetDynamicImage ()
 
virtual void SetMask (const Image *_arg)
 
virtual const ImageGetMask ()
 
const ResultTypeGetMaximum ()
 
const ResultTypeGetMinimum ()
 
const ResultTypeGetMean ()
 
const ResultTypeGetSigma ()
 
const ResultTypeGetVariance ()
 
const ResultTypeGetSum ()
 
void Generate ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 MaskedDynamicImageStatisticsGenerator ()
 
 ~MaskedDynamicImageStatisticsGenerator () override
 
template<typename TPixel , unsigned int VDim>
void DoCalculateStatistics (const itk::Image< TPixel, VDim > *image)
 
virtual void CheckValidInputs () const
 
bool HasOutdatedResults () const
 

Protected Attributes

itk::TimeStamp m_GenerationTimeStamp
 

Detailed Description

Simple mitk based wrapper for the itk::MaskedNaryStatisticsImageFilter. takes an input image and a mask image (both mitk::Images) and calculates the statistic of the input image within the given mask (every pixel != 0).
The class assumes that the mask image is 3D (only one time step), if this is not the case only the first time step will be used as mask.
If the input image has multiple time steps, the statistics will be calculated for each time step. This the result arrays will always have as many values as the input image has time steps.

Definition at line 30 of file mitkMaskedDynamicImageStatisticsGenerator.h.

Member Typedef Documentation

◆ ResultType

Constructor & Destructor Documentation

◆ MaskedDynamicImageStatisticsGenerator()

mitk::MaskedDynamicImageStatisticsGenerator::MaskedDynamicImageStatisticsGenerator ( )
protected

◆ ~MaskedDynamicImageStatisticsGenerator()

mitk::MaskedDynamicImageStatisticsGenerator::~MaskedDynamicImageStatisticsGenerator ( )
overrideprotected

Member Function Documentation

◆ CheckValidInputs()

virtual void mitk::MaskedDynamicImageStatisticsGenerator::CheckValidInputs ( ) const
protectedvirtual

◆ DoCalculateStatistics()

template<typename TPixel , unsigned int VDim>
void mitk::MaskedDynamicImageStatisticsGenerator::DoCalculateStatistics ( const itk::Image< TPixel, VDim > *  image)
protected

◆ Generate()

void mitk::MaskedDynamicImageStatisticsGenerator::Generate ( )

◆ GetDynamicImage()

virtual const Image* mitk::MaskedDynamicImageStatisticsGenerator::GetDynamicImage ( )
virtual

◆ GetMask()

virtual const Image* mitk::MaskedDynamicImageStatisticsGenerator::GetMask ( )
virtual

◆ GetMaximum()

const ResultType& mitk::MaskedDynamicImageStatisticsGenerator::GetMaximum ( )

◆ GetMean()

const ResultType& mitk::MaskedDynamicImageStatisticsGenerator::GetMean ( )

◆ GetMinimum()

const ResultType& mitk::MaskedDynamicImageStatisticsGenerator::GetMinimum ( )

◆ GetSigma()

const ResultType& mitk::MaskedDynamicImageStatisticsGenerator::GetSigma ( )

◆ GetSum()

const ResultType& mitk::MaskedDynamicImageStatisticsGenerator::GetSum ( )

◆ GetVariance()

const ResultType& mitk::MaskedDynamicImageStatisticsGenerator::GetVariance ( )

◆ HasOutdatedResults()

bool mitk::MaskedDynamicImageStatisticsGenerator::HasOutdatedResults ( ) const
protected

◆ mitkClassMacroItkParent()

mitk::MaskedDynamicImageStatisticsGenerator::mitkClassMacroItkParent ( MaskedDynamicImageStatisticsGenerator  ,
itk::Object   
)

◆ New()

static Pointer mitk::MaskedDynamicImageStatisticsGenerator::New ( )
static

◆ SetDynamicImage()

virtual void mitk::MaskedDynamicImageStatisticsGenerator::SetDynamicImage ( const Image _arg)
virtual

◆ SetMask()

virtual void mitk::MaskedDynamicImageStatisticsGenerator::SetMask ( const Image _arg)
virtual

Member Data Documentation

◆ m_GenerationTimeStamp

itk::TimeStamp mitk::MaskedDynamicImageStatisticsGenerator::m_GenerationTimeStamp
protected

Definition at line 65 of file mitkMaskedDynamicImageStatisticsGenerator.h.


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