Medical Imaging Interaction Toolkit  2021.10.00
Medical Imaging Interaction Toolkit
itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage > Class Template Reference

Extension of the itkLabelStatisticsImageFilter that also calculates the Skewness,Kurtosis,Entropy,Uniformity. More...

#include <mitkExtendedLabelStatisticsImageFilter.h>

Inheritance diagram for itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >:
Collaboration diagram for itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >:

Classes

class  LabelStatistics
 Statistics stored per label. More...
 

Public Types

typedef ExtendedLabelStatisticsImageFilter Self
 
typedef LabelStatisticsImageFilter< TInputImage, TLabelImage > Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::LabelPixelType LabelPixelType
 
typedef Superclass::RealType RealType
 
typedef Superclass::PixelType PixelType
 
typedef Superclass::MapIterator MapIterator
 
typedef Superclass::BoundingBoxType BoundingBoxType
 
typedef Superclass::RegionType RegionType
 
typedef itk::Statistics::Histogram< double > HistogramType
 
typedef itksys::hash_map< LabelPixelType, LabelStatisticsMapType
 
typedef itksys::hash_map< LabelPixelType, LabelStatistics >::const_iterator StatisticsMapConstIterator
 
typedef itksys::hash_map< LabelPixelType, LabelStatistics >::iterator StatisticsMapIterator
 
typedef IdentifierType MapSizeType
 
typedef std::vector< LabelPixelTypeValidLabelValuesContainerType
 

Public Member Functions

Pointer Clone () const
 
virtual const char * GetClassName () const
 
RealType GetMinimum (LabelPixelType label) const
 
RealType GetMaximum (LabelPixelType label) const
 
RealType GetMean (LabelPixelType label) const
 
RealType GetSigma (LabelPixelType label) const
 
RealType GetVariance (LabelPixelType label) const
 
BoundingBoxType GetBoundingBox (LabelPixelType label) const
 
RegionType GetRegion (LabelPixelType label) const
 
RealType GetSum (LabelPixelType label) const
 
MapSizeType GetCount (LabelPixelType label) const
 
HistogramType::Pointer GetHistogram (LabelPixelType label) const
 
RealType GetSkewness (LabelPixelType label) const
 
RealType GetKurtosis (LabelPixelType label) const
 
RealType GetUniformity (LabelPixelType label) const
 
RealType GetMedian (LabelPixelType label) const
 
RealType GetEntropy (LabelPixelType label) const
 
RealType GetMPP (LabelPixelType label) const
 
RealType GetUPP (LabelPixelType label) const
 
bool GetMaskingNonEmpty () const
 
std::list< int > GetRelevantLabels () const
 
void SetHistogramParameters (const int numBins, RealType lowerBound, RealType upperBound)
 
void SetHistogramParametersForLabels (std::map< LabelPixelType, unsigned int > numBins, std::map< LabelPixelType, PixelType > lowerBound, std::map< LabelPixelType, PixelType > upperBound)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 ExtendedLabelStatisticsImageFilter ()
 
 ~ExtendedLabelStatisticsImageFilter () override
 
void AfterThreadedGenerateData () override
 
void BeforeThreadedGenerateData () override
 
void ThreadedGenerateData (const typename TInputImage::RegionType &outputRegionForThread, ThreadIdType threadId) override
 
bool HasLabel (LabelPixelType label) const
 

Detailed Description

template<class TInputImage, class TLabelImage>
class itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >

Extension of the itkLabelStatisticsImageFilter that also calculates the Skewness,Kurtosis,Entropy,Uniformity.

This class inherits from the itkLabelStatisticsImageFilter and uses its results for the calculation of seven additional coefficients: the Skewness, Kurtosis, Uniformity, UPP, MPP, Entropy and Median

Definition at line 30 of file mitkExtendedLabelStatisticsImageFilter.h.

Member Typedef Documentation

◆ BoundingBoxType

template<class TInputImage , class TLabelImage >
typedef Superclass::BoundingBoxType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::BoundingBoxType

Definition at line 42 of file mitkExtendedLabelStatisticsImageFilter.h.

◆ ConstPointer

template<class TInputImage , class TLabelImage >
typedef SmartPointer< const Self > itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::ConstPointer

Definition at line 37 of file mitkExtendedLabelStatisticsImageFilter.h.

◆ HistogramType

template<class TInputImage , class TLabelImage >
typedef itk::Statistics::Histogram<double> itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::HistogramType

Definition at line 44 of file mitkExtendedLabelStatisticsImageFilter.h.

◆ LabelPixelType

template<class TInputImage , class TLabelImage >
typedef Superclass::LabelPixelType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::LabelPixelType

Definition at line 38 of file mitkExtendedLabelStatisticsImageFilter.h.

◆ MapIterator

template<class TInputImage , class TLabelImage >
typedef Superclass::MapIterator itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::MapIterator

Definition at line 41 of file mitkExtendedLabelStatisticsImageFilter.h.

◆ MapSizeType

template<class TInputImage , class TLabelImage >
typedef IdentifierType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::MapSizeType

Definition at line 234 of file mitkExtendedLabelStatisticsImageFilter.h.

◆ MapType

template<class TInputImage , class TLabelImage >
typedef itksys::hash_map< LabelPixelType, LabelStatistics > itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::MapType

Type of the map used to store data per label

Definition at line 231 of file mitkExtendedLabelStatisticsImageFilter.h.

◆ PixelType

template<class TInputImage , class TLabelImage >
typedef Superclass::PixelType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::PixelType

Definition at line 40 of file mitkExtendedLabelStatisticsImageFilter.h.

◆ Pointer

template<class TInputImage , class TLabelImage >
typedef SmartPointer< Self > itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::Pointer

Definition at line 36 of file mitkExtendedLabelStatisticsImageFilter.h.

◆ RealType

template<class TInputImage , class TLabelImage >
typedef Superclass::RealType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::RealType

Definition at line 39 of file mitkExtendedLabelStatisticsImageFilter.h.

◆ RegionType

template<class TInputImage , class TLabelImage >
typedef Superclass::RegionType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::RegionType

Definition at line 43 of file mitkExtendedLabelStatisticsImageFilter.h.

◆ Self

template<class TInputImage , class TLabelImage >
typedef ExtendedLabelStatisticsImageFilter itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::Self

Definition at line 34 of file mitkExtendedLabelStatisticsImageFilter.h.

◆ StatisticsMapConstIterator

template<class TInputImage , class TLabelImage >
typedef itksys::hash_map< LabelPixelType, LabelStatistics >::const_iterator itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::StatisticsMapConstIterator

Definition at line 232 of file mitkExtendedLabelStatisticsImageFilter.h.

◆ StatisticsMapIterator

template<class TInputImage , class TLabelImage >
typedef itksys::hash_map< LabelPixelType, LabelStatistics >::iterator itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::StatisticsMapIterator

Definition at line 233 of file mitkExtendedLabelStatisticsImageFilter.h.

◆ Superclass

template<class TInputImage , class TLabelImage >
typedef LabelStatisticsImageFilter< TInputImage, TLabelImage > itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::Superclass

Definition at line 35 of file mitkExtendedLabelStatisticsImageFilter.h.

◆ ValidLabelValuesContainerType

template<class TInputImage , class TLabelImage >
typedef std::vector<LabelPixelType> itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::ValidLabelValuesContainerType

Type of the container used to store valid label values

Definition at line 237 of file mitkExtendedLabelStatisticsImageFilter.h.

Constructor & Destructor Documentation

◆ ExtendedLabelStatisticsImageFilter()

template<class TInputImage , class TLabelImage >
itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::ExtendedLabelStatisticsImageFilter ( )
inlineprotected

Definition at line 292 of file mitkExtendedLabelStatisticsImageFilter.h.

◆ ~ExtendedLabelStatisticsImageFilter()

Member Function Documentation

◆ AfterThreadedGenerateData()

template<class TInputImage , class TLabelImage >
void itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::AfterThreadedGenerateData ( )
overrideprotected

◆ BeforeThreadedGenerateData()

template<class TInputImage , class TLabelImage >
void itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::BeforeThreadedGenerateData ( )
overrideprotected

◆ Clone()

template<class TInputImage , class TLabelImage >
Pointer itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::Clone ( ) const

◆ GetBoundingBox()

template<class TInputImage , class TLabelImage >
BoundingBoxType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetBoundingBox ( LabelPixelType  label) const

Return the computed bounding box for a label.

◆ GetClassName()

template<class TInputImage , class TLabelImage >
virtual const char* itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetClassName ( ) const
virtual

◆ GetCount()

template<class TInputImage , class TLabelImage >
MapSizeType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetCount ( LabelPixelType  label) const

Return the number of pixels for a label.

◆ GetEntropy()

template<class TInputImage , class TLabelImage >
RealType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetEntropy ( LabelPixelType  label) const

◆ GetHistogram()

template<class TInputImage , class TLabelImage >
HistogramType::Pointer itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetHistogram ( LabelPixelType  label) const

Return the histogram for a label

◆ GetKurtosis()

template<class TInputImage , class TLabelImage >
RealType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetKurtosis ( LabelPixelType  label) const

◆ GetMaskingNonEmpty()

template<class TInputImage , class TLabelImage >
bool itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetMaskingNonEmpty ( ) const

◆ GetMaximum()

template<class TInputImage , class TLabelImage >
RealType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetMaximum ( LabelPixelType  label) const

Return the computed Maximum for a label.

◆ GetMean()

template<class TInputImage , class TLabelImage >
RealType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetMean ( LabelPixelType  label) const

Return the computed Mean for a label.

◆ GetMedian()

template<class TInputImage , class TLabelImage >
RealType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetMedian ( LabelPixelType  label) const

◆ GetMinimum()

template<class TInputImage , class TLabelImage >
RealType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetMinimum ( LabelPixelType  label) const

Return the computed Minimum for a label.

◆ GetMPP()

template<class TInputImage , class TLabelImage >
RealType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetMPP ( LabelPixelType  label) const

◆ GetRegion()

template<class TInputImage , class TLabelImage >
RegionType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetRegion ( LabelPixelType  label) const

Return the computed region.

◆ GetRelevantLabels()

template<class TInputImage , class TLabelImage >
std::list<int> itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetRelevantLabels ( ) const

◆ GetSigma()

template<class TInputImage , class TLabelImage >
RealType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetSigma ( LabelPixelType  label) const

Return the computed Standard Deviation for a label.

◆ GetSkewness()

template<class TInputImage , class TLabelImage >
RealType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetSkewness ( LabelPixelType  label) const

◆ GetSum()

template<class TInputImage , class TLabelImage >
RealType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetSum ( LabelPixelType  label) const

Return the compute Sum for a label.

◆ GetUniformity()

template<class TInputImage , class TLabelImage >
RealType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetUniformity ( LabelPixelType  label) const

◆ GetUPP()

template<class TInputImage , class TLabelImage >
RealType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetUPP ( LabelPixelType  label) const

◆ GetVariance()

template<class TInputImage , class TLabelImage >
RealType itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::GetVariance ( LabelPixelType  label) const

Return the computed Variance for a label.

◆ HasLabel()

template<class TInputImage , class TLabelImage >
bool itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::HasLabel ( LabelPixelType  label) const
inlineprotected

Does the specified label exist? Can only be called after a call a call to Update().

Definition at line 315 of file mitkExtendedLabelStatisticsImageFilter.h.

◆ New()

template<class TInputImage , class TLabelImage >
static Pointer itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::New ( )
static

◆ SetHistogramParameters()

template<class TInputImage , class TLabelImage >
void itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::SetHistogramParameters ( const int  numBins,
RealType  lowerBound,
RealType  upperBound 
)

specify global Histogram parameters. If the histogram parameters are set with this function, the same min and max value are used for all histograms.

◆ SetHistogramParametersForLabels()

template<class TInputImage , class TLabelImage >
void itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::SetHistogramParametersForLabels ( std::map< LabelPixelType, unsigned int >  numBins,
std::map< LabelPixelType, PixelType lowerBound,
std::map< LabelPixelType, PixelType upperBound 
)

specify Histogram parameters for each label individually. Labels in the label image that are not represented in the std::maps here will receive global parameters (if available)

◆ ThreadedGenerateData()

template<class TInputImage , class TLabelImage >
void itk::ExtendedLabelStatisticsImageFilter< TInputImage, TLabelImage >::ThreadedGenerateData ( const typename TInputImage::RegionType &  outputRegionForThread,
ThreadIdType  threadId 
)
overrideprotected

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