Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
itk::ExtendedStatisticsImageFilter< TInputImage > Class Template Reference

Extension of the itkStatisticsImageFilter that also calculates the Skewness and Kurtosis. More...

#include <mitkExtendedStatisticsImageFilter.h>

Inheritance diagram for itk::ExtendedStatisticsImageFilter< TInputImage >:
Collaboration diagram for itk::ExtendedStatisticsImageFilter< TInputImage >:

Public Types

typedef ExtendedStatisticsImageFilter Self
 
typedef StatisticsImageFilter< TInputImage > Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::RealType RealType
 
typedef Superclass::RealObjectType RealObjectType
 
typedef Superclass::PixelType PixelType
 
typedef itk::Statistics::Histogram< RealTypeHistogramType
 
typedef HistogramType::Pointer HistogramPointer
 
typedef ExtendedStatisticsImageFilter Self
 
typedef StatisticsImageFilter< TInputImage > Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::RealType RealType
 
typedef Superclass::RealObjectType RealObjectType
 
typedef Superclass::PixelType PixelType
 
typedef itk::Statistics::ScalarImageToHistogramGenerator< TInputImage > HistogramGeneratorType
 

Public Member Functions

Pointer Clone () const
 
virtual const char * GetClassName () const
 
double GetSkewness () const
 Return the computed Skewness. More...
 
double GetMedian () const
 Return the computed Median. More...
 
double GetKurtosis () const
 Return the computed Kurtosis. More...
 
double GetMPP () const
 
double GetUniformity () const
 Return the computed Uniformity. More...
 
double GetEntropy () const
 Return the computed Entropy. More...
 
double GetUPP () const
 Return the computed UPP. More...
 
const HistogramType::Pointer GetHistogram ()
 Return the computed Histogram. More...
 
void SetHistogramParameters (const int numBins, RealType lowerBound, RealType upperBound)
 
Pointer Clone () const
 
virtual const char * GetClassName () const
 
double GetSkewness () const
 Return the computed Skewness. More...
 
double GetMedian () const
 Return the computed Median. More...
 
double GetKurtosis () const
 Return the computed Kurtosis. More...
 
double GetMPP () const
 
double GetUniformity () const
 Return the computed Uniformity. More...
 
double GetEntropy () const
 Return the computed Entropy. More...
 
double GetUPP () const
 Return the computed UPP. More...
 
const HistogramGeneratorType::HistogramType * GetHistogram ()
 Return the computed Histogram. More...
 
void SetBinSize (int size)
 Set the Binsize for the Histogram. More...
 

Static Public Member Functions

static Pointer New ()
 
static Pointer New ()
 

Protected Member Functions

 ExtendedStatisticsImageFilter ()
 
virtual ~ExtendedStatisticsImageFilter ()
 
void BeforeThreadedGenerateData ()
 
void ThreadedGenerateData (const typename StatisticsImageFilter< TInputImage >::RegionType &outputRegionForThread, ThreadIdType threadId)
 
void AfterThreadedGenerateData ()
 
RealObjectTypeGetSkewnessOutput ()
 
const RealObjectTypeGetSkewnessOutput () const
 
RealObjectTypeGetKurtosisOutput ()
 
const RealObjectTypeGetKurtosisOutput () const
 
RealObjectTypeGetMPPOutput ()
 
const RealObjectTypeGetMPPOutput () const
 
RealObjectTypeGetEntropyOutput ()
 
const RealObjectTypeGetEntropyOutput () const
 
RealObjectTypeGetUniformityOutput ()
 
const RealObjectTypeGetUniformityOutput () const
 
RealObjectTypeGetUPPOutput ()
 
const RealObjectTypeGetUPPOutput () const
 
RealObjectTypeGetMedianOutput ()
 
const RealObjectTypeGetMedianOutput () const
 
virtual DataObject::Pointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx)
 
 ExtendedStatisticsImageFilter ()
 
virtual ~ExtendedStatisticsImageFilter ()
 
void AfterThreadedGenerateData ()
 
void CalculateHistogram ()
 
void ComputeSkewnessKurtosisAndMPP ()
 Compute Entropy,uniformity,MPP,UPP, Median. More...
 
void ComputeEntropyUniformityMedianAndUPP ()
 
RealObjectTypeGetSkewnessOutput ()
 
const RealObjectTypeGetSkewnessOutput () const
 
RealObjectTypeGetKurtosisOutput ()
 
const RealObjectTypeGetKurtosisOutput () const
 
RealObjectTypeGetMPPOutput ()
 
const RealObjectTypeGetMPPOutput () const
 
RealObjectTypeGetEntropyOutput ()
 
const RealObjectTypeGetEntropyOutput () const
 
RealObjectTypeGetUniformityOutput ()
 
const RealObjectTypeGetUniformityOutput () const
 
RealObjectTypeGetUPPOutput ()
 
const RealObjectTypeGetUPPOutput () const
 
RealObjectTypeGetMedianOutput ()
 
const RealObjectTypeGetMedianOutput () const
 
virtual DataObject::Pointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx)
 

Protected Attributes

HistogramGeneratorType::Pointer m_HistogramGenerator
 Histogram. More...
 
int m_BinSize
 

Detailed Description

template<class TInputImage>
class itk::ExtendedStatisticsImageFilter< TInputImage >

Extension of the itkStatisticsImageFilter that also calculates the Skewness and Kurtosis.

This class inherits from the itkStatisticsImageFilter and uses its results for the calculation of other additional coefficients: the Skewness and Kurtosis.

As the StatisticsImageFilter stores the statistics in the outputs 1 to 6 by the StatisticsImageFilter, the skewness, kurtosis, MPP, UPP, Uniformity, Entropy and Median are stored in the outputs 7 to 14 by this filter.

This class inherits from the itkStatisticsImageFilter and uses its results for the calculation of other additional coefficients: the Skewness and Kurtosis.

As these coefficient are based on the mean and the sigma which are both calculated by the StatisticsImageFilter, the method AfterThreadedGenerateData() is overwritten and calls ComputeSkewnessKurtosisAndMPP() and ComputeEntropyUniformityAndUPP after the AfterThreadedGenerateData() implementation of the superclass is called.

As the StatisticsImageFilter stores the statistics in the outputs 1 to 6 by the StatisticsImageFilter, the skewness, kurtosis,MPP,UPP,Uniformity and Entropy are stored in the outputs 7 to 13 by this filter.

Definition at line 38 of file mitkExtendedStatisticsImageFilter.h.

Member Typedef Documentation

template<class TInputImage >
typedef SmartPointer< const Self > itk::ExtendedStatisticsImageFilter< TInputImage >::ConstPointer

Definition at line 45 of file mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
typedef SmartPointer< const Self > itk::ExtendedStatisticsImageFilter< TInputImage >::ConstPointer

Definition at line 52 of file old/mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
typedef itk::Statistics::ScalarImageToHistogramGenerator< TInputImage > itk::ExtendedStatisticsImageFilter< TInputImage >::HistogramGeneratorType

Definition at line 59 of file old/mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
typedef HistogramType::Pointer itk::ExtendedStatisticsImageFilter< TInputImage >::HistogramPointer

Definition at line 52 of file mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
typedef itk::Statistics::Histogram< RealType > itk::ExtendedStatisticsImageFilter< TInputImage >::HistogramType

Histogram-related typedefs

Definition at line 51 of file mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
typedef Superclass::PixelType itk::ExtendedStatisticsImageFilter< TInputImage >::PixelType

Definition at line 48 of file mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
typedef Superclass::PixelType itk::ExtendedStatisticsImageFilter< TInputImage >::PixelType

Definition at line 55 of file old/mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
typedef SmartPointer< Self > itk::ExtendedStatisticsImageFilter< TInputImage >::Pointer

Definition at line 44 of file mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
typedef SmartPointer< Self > itk::ExtendedStatisticsImageFilter< TInputImage >::Pointer

Definition at line 51 of file old/mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
typedef Superclass::RealObjectType itk::ExtendedStatisticsImageFilter< TInputImage >::RealObjectType

Definition at line 47 of file mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
typedef Superclass::RealObjectType itk::ExtendedStatisticsImageFilter< TInputImage >::RealObjectType

Definition at line 54 of file old/mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
typedef Superclass::RealType itk::ExtendedStatisticsImageFilter< TInputImage >::RealType

Definition at line 46 of file mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
typedef Superclass::RealType itk::ExtendedStatisticsImageFilter< TInputImage >::RealType

Definition at line 53 of file old/mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
typedef ExtendedStatisticsImageFilter itk::ExtendedStatisticsImageFilter< TInputImage >::Self

Standard Self typedef

Definition at line 42 of file mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
typedef ExtendedStatisticsImageFilter itk::ExtendedStatisticsImageFilter< TInputImage >::Self

Standard Self typedef

Definition at line 49 of file old/mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
typedef StatisticsImageFilter< TInputImage > itk::ExtendedStatisticsImageFilter< TInputImage >::Superclass

Definition at line 43 of file mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
typedef StatisticsImageFilter< TInputImage > itk::ExtendedStatisticsImageFilter< TInputImage >::Superclass

Definition at line 50 of file old/mitkExtendedStatisticsImageFilter.h.

Constructor & Destructor Documentation

template<class TInputImage >
itk::ExtendedStatisticsImageFilter< TInputImage >::ExtendedStatisticsImageFilter ( )
protected
template<class TInputImage >
virtual itk::ExtendedStatisticsImageFilter< TInputImage >::~ExtendedStatisticsImageFilter ( )
inlineprotectedvirtual

Definition at line 139 of file mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
itk::ExtendedStatisticsImageFilter< TInputImage >::ExtendedStatisticsImageFilter ( )
protected
template<class TInputImage >
virtual itk::ExtendedStatisticsImageFilter< TInputImage >::~ExtendedStatisticsImageFilter ( )
inlineprotectedvirtual

Definition at line 139 of file old/mitkExtendedStatisticsImageFilter.h.

Member Function Documentation

template<class TInputImage >
void itk::ExtendedStatisticsImageFilter< TInputImage >::AfterThreadedGenerateData ( )
protected

brief Calls AfterThreadedGenerateData() of the superclass and the main methods

template<class TInputImage >
void itk::ExtendedStatisticsImageFilter< TInputImage >::AfterThreadedGenerateData ( )
protected

brief Calls AfterThreadedGenerateData() of the superclass and the main methods

template<class TInputImage >
void itk::ExtendedStatisticsImageFilter< TInputImage >::BeforeThreadedGenerateData ( )
protected
template<class TInputImage >
void itk::ExtendedStatisticsImageFilter< TInputImage >::CalculateHistogram ( )
protected
template<class TInputImage >
Pointer itk::ExtendedStatisticsImageFilter< TInputImage >::Clone ( ) const
template<class TInputImage >
Pointer itk::ExtendedStatisticsImageFilter< TInputImage >::Clone ( ) const
template<class TInputImage >
void itk::ExtendedStatisticsImageFilter< TInputImage >::ComputeEntropyUniformityMedianAndUPP ( )
protected
template<class TInputImage >
void itk::ExtendedStatisticsImageFilter< TInputImage >::ComputeSkewnessKurtosisAndMPP ( )
protected

Compute Entropy,uniformity,MPP,UPP, Median.

The Entropy,uniformity,MPP, Median and UPP will be calculated with the Sigma, Histogram and Mean Value of the itkStatisticsImageFilter which comes out of the threadedGenerateData().

template<class TInputImage >
virtual const char* itk::ExtendedStatisticsImageFilter< TInputImage >::GetClassName ( ) const
virtual
template<class TInputImage >
virtual const char* itk::ExtendedStatisticsImageFilter< TInputImage >::GetClassName ( ) const
virtual
template<class TInputImage >
double itk::ExtendedStatisticsImageFilter< TInputImage >::GetEntropy ( ) const
inline

Return the computed Entropy.

Definition at line 100 of file mitkExtendedStatisticsImageFilter.h.

References itk::ExtendedStatisticsImageFilter< TInputImage >::GetEntropyOutput().

template<class TInputImage >
double itk::ExtendedStatisticsImageFilter< TInputImage >::GetEntropy ( ) const
inline
template<class TInputImage >
RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetEntropyOutput ( )
protected
template<class TInputImage >
const RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetEntropyOutput ( ) const
protected
template<class TInputImage >
RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetEntropyOutput ( )
protected
template<class TInputImage >
const RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetEntropyOutput ( ) const
protected
template<class TInputImage >
const HistogramType::Pointer itk::ExtendedStatisticsImageFilter< TInputImage >::GetHistogram ( )
inline

Return the computed Histogram.

Definition at line 118 of file mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
const HistogramGeneratorType::HistogramType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetHistogram ( )
inline
template<class TInputImage >
double itk::ExtendedStatisticsImageFilter< TInputImage >::GetKurtosis ( ) const
inline

Return the computed Kurtosis.

Definition at line 77 of file mitkExtendedStatisticsImageFilter.h.

References itk::ExtendedStatisticsImageFilter< TInputImage >::GetKurtosisOutput().

template<class TInputImage >
double itk::ExtendedStatisticsImageFilter< TInputImage >::GetKurtosis ( ) const
inline

Return the computed Kurtosis.

Definition at line 84 of file old/mitkExtendedStatisticsImageFilter.h.

References itk::ExtendedStatisticsImageFilter< TInputImage >::GetKurtosisOutput().

template<class TInputImage >
RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetKurtosisOutput ( )
protected
template<class TInputImage >
const RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetKurtosisOutput ( ) const
protected
template<class TInputImage >
RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetKurtosisOutput ( )
protected
template<class TInputImage >
const RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetKurtosisOutput ( ) const
protected
template<class TInputImage >
double itk::ExtendedStatisticsImageFilter< TInputImage >::GetMedian ( ) const
inline

Return the computed Median.

Definition at line 69 of file mitkExtendedStatisticsImageFilter.h.

References itk::ExtendedStatisticsImageFilter< TInputImage >::GetMedianOutput().

template<class TInputImage >
double itk::ExtendedStatisticsImageFilter< TInputImage >::GetMedian ( ) const
inline
template<class TInputImage >
RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetMedianOutput ( )
protected
template<class TInputImage >
const RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetMedianOutput ( ) const
protected
template<class TInputImage >
RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetMedianOutput ( )
protected
template<class TInputImage >
const RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetMedianOutput ( ) const
protected
template<class TInputImage >
double itk::ExtendedStatisticsImageFilter< TInputImage >::GetMPP ( ) const
inline
template<class TInputImage >
double itk::ExtendedStatisticsImageFilter< TInputImage >::GetMPP ( ) const
inline
template<class TInputImage >
RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetMPPOutput ( )
protected
template<class TInputImage >
const RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetMPPOutput ( ) const
protected
template<class TInputImage >
RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetMPPOutput ( )
protected
template<class TInputImage >
const RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetMPPOutput ( ) const
protected
template<class TInputImage >
double itk::ExtendedStatisticsImageFilter< TInputImage >::GetSkewness ( ) const
inline

Return the computed Skewness.

Definition at line 61 of file mitkExtendedStatisticsImageFilter.h.

References itk::ExtendedStatisticsImageFilter< TInputImage >::GetSkewnessOutput().

template<class TInputImage >
double itk::ExtendedStatisticsImageFilter< TInputImage >::GetSkewness ( ) const
inline

Return the computed Skewness.

Definition at line 68 of file old/mitkExtendedStatisticsImageFilter.h.

References itk::ExtendedStatisticsImageFilter< TInputImage >::GetSkewnessOutput().

template<class TInputImage >
RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetSkewnessOutput ( )
protected
template<class TInputImage >
const RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetSkewnessOutput ( ) const
protected
template<class TInputImage >
RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetSkewnessOutput ( )
protected
template<class TInputImage >
const RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetSkewnessOutput ( ) const
protected
template<class TInputImage >
double itk::ExtendedStatisticsImageFilter< TInputImage >::GetUniformity ( ) const
inline

Return the computed Uniformity.

Definition at line 92 of file mitkExtendedStatisticsImageFilter.h.

References itk::ExtendedStatisticsImageFilter< TInputImage >::GetUniformityOutput().

template<class TInputImage >
double itk::ExtendedStatisticsImageFilter< TInputImage >::GetUniformity ( ) const
inline

Return the computed Uniformity.

Definition at line 99 of file old/mitkExtendedStatisticsImageFilter.h.

References itk::ExtendedStatisticsImageFilter< TInputImage >::GetUniformityOutput().

template<class TInputImage >
RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetUniformityOutput ( )
protected
template<class TInputImage >
const RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetUniformityOutput ( ) const
protected
template<class TInputImage >
RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetUniformityOutput ( )
protected
template<class TInputImage >
const RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetUniformityOutput ( ) const
protected
template<class TInputImage >
double itk::ExtendedStatisticsImageFilter< TInputImage >::GetUPP ( ) const
inline

Return the computed UPP.

Definition at line 108 of file mitkExtendedStatisticsImageFilter.h.

References itk::ExtendedStatisticsImageFilter< TInputImage >::GetUPPOutput().

template<class TInputImage >
double itk::ExtendedStatisticsImageFilter< TInputImage >::GetUPP ( ) const
inline
template<class TInputImage >
RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetUPPOutput ( )
protected
template<class TInputImage >
const RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetUPPOutput ( ) const
protected
template<class TInputImage >
RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetUPPOutput ( )
protected
template<class TInputImage >
const RealObjectType* itk::ExtendedStatisticsImageFilter< TInputImage >::GetUPPOutput ( ) const
protected
template<class TInputImage >
virtual DataObject::Pointer itk::ExtendedStatisticsImageFilter< TInputImage >::MakeOutput ( ProcessObject::DataObjectPointerArraySizeType  idx)
protectedvirtual
template<class TInputImage >
virtual DataObject::Pointer itk::ExtendedStatisticsImageFilter< TInputImage >::MakeOutput ( ProcessObject::DataObjectPointerArraySizeType  idx)
protectedvirtual
template<class TInputImage >
static Pointer itk::ExtendedStatisticsImageFilter< TInputImage >::New ( )
static
template<class TInputImage >
static Pointer itk::ExtendedStatisticsImageFilter< TInputImage >::New ( )
static
template<class TInputImage >
void itk::ExtendedStatisticsImageFilter< TInputImage >::SetBinSize ( int  size)

Set the Binsize for the Histogram.

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

specify Histogram parameters

template<class TInputImage >
void itk::ExtendedStatisticsImageFilter< TInputImage >::ThreadedGenerateData ( const typename StatisticsImageFilter< TInputImage >::RegionType &  outputRegionForThread,
ThreadIdType  threadId 
)
protected

Multi-thread version GenerateData.

Member Data Documentation

template<class TInputImage >
int itk::ExtendedStatisticsImageFilter< TInputImage >::m_BinSize
protected

Definition at line 162 of file old/mitkExtendedStatisticsImageFilter.h.

template<class TInputImage >
HistogramGeneratorType::Pointer itk::ExtendedStatisticsImageFilter< TInputImage >::m_HistogramGenerator
protected

Histogram.

new members for setting and calculating the hisotgram for those coefficients which depends on this

Definition at line 161 of file old/mitkExtendedStatisticsImageFilter.h.

Referenced by itk::ExtendedStatisticsImageFilter< TInputImage >::GetHistogram().


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