Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::ImageStatisticsCalculator::StatisticsContainer Class Reference

Container class for storing the computed image statistics. More...

#include <mitkImageStatisticsCalculator.h>

Inheritance diagram for mitk::ImageStatisticsCalculator::StatisticsContainer:
Collaboration diagram for mitk::ImageStatisticsCalculator::StatisticsContainer:

Public Types

typedef StatisticsContainer Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef double RealType
 

Public Member Functions

virtual const char * GetClassName () const
 
statisticsMapType GetStatisticsAsMap ()
 Returns a std::map<std::string, StatisticsValueType (aka double)> containing all real valued statistics stored in this class (= all statistics except minIndex, maxIndex and the histogram) More...
 
void Reset ()
 Deletes all stored values. More...
 
void SetN (long n)
 
const long & GetN () const
 
void SetMean (RealType mean)
 
const RealTypeGetMean () const
 
void SetVariance (RealType variance)
 
const RealTypeGetVariance () const
 
void SetStd (RealType std)
 
const RealTypeGetStd () const
 
void SetMin (RealType minVal)
 
const RealTypeGetMin () const
 
void SetMax (RealType maxVal)
 
const RealTypeGetMax () const
 
void SetRMS (RealType rms)
 
const RealTypeGetRMS () const
 
void SetSkewness (RealType skewness)
 
const RealTypeGetSkewness () const
 
void SetKurtosis (RealType kurtosis)
 
const RealTypeGetKurtosis () const
 
void SetMPP (RealType mpp)
 
const RealTypeGetMPP () const
 
void SetLabel (unsigned int label)
 
const unsigned int & GetLabel () const
 
void SetMinIndex (vnl_vector< int > minIndex)
 
vnl_vector< int > GetMinIndex () const
 
void SetMaxIndex (vnl_vector< int > maxIndex)
 
vnl_vector< int > GetMaxIndex () const
 
void SetHistogram (HistogramType::Pointer hist)
 
const HistogramType::Pointer GetHistogram () const
 
void SetEntropy (RealType entropy)
 
const RealTypeGetEntropy () const
 
void SetMedian (RealType median)
 
const RealTypeGetMedian () const
 
void SetUniformity (RealType uniformity)
 
const RealTypeGetUniformity () const
 
void SetUPP (RealType upp)
 
const RealTypeGetUPP () const
 
void Print ()
 Creates a StatisticsMapType containing all real valued statistics stored in this class (= all statistics except minIndex, maxIndex and the histogram) and prints its contents to std::cout. More...
 
std::string GetAsString ()
 Generates a string that contains all real valued statistics stored in this class (= all statistics except minIndex, maxIndex and the histogram) More...
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 StatisticsContainer ()
 

Detailed Description

Container class for storing the computed image statistics.

Documentation Container class for storing the computed image statistics. Stored statistics are:

  • N: number of voxels
  • Mean
  • MPP (Mean of positive pixels)
  • Median
  • Skewness
  • Kurtosis
  • Uniformity
  • UPP (Uniformity of positive pixels)
  • Variance
  • Std (Standard Deviation)
  • Min
  • Max
  • RMS (Root Mean Square)
  • Label (if applicable, the label (unsigned short) of the mask the statistics belong to)
  • Entropy

It furthermore stores the following:

  • MinIndex (Index of Image where the Minimum is located)
  • MaxIndex (Index of Image where the Maximum is located)
  • Histogram of Pixel Values

Definition at line 58 of file mitkImageStatisticsCalculator.h.

Member Typedef Documentation

typedef itk::SmartPointer< const Self > mitk::ImageStatisticsCalculator::StatisticsContainer::ConstPointer

Definition at line 65 of file mitkImageStatisticsCalculator.h.

typedef itk::SmartPointer< Self > mitk::ImageStatisticsCalculator::StatisticsContainer::Pointer

Definition at line 64 of file mitkImageStatisticsCalculator.h.

typedef double mitk::ImageStatisticsCalculator::StatisticsContainer::RealType

Definition at line 73 of file mitkImageStatisticsCalculator.h.

typedef StatisticsContainer mitk::ImageStatisticsCalculator::StatisticsContainer::Self

Standard Self typedef

Definition at line 62 of file mitkImageStatisticsCalculator.h.

typedef itk::Object mitk::ImageStatisticsCalculator::StatisticsContainer::Superclass

Definition at line 63 of file mitkImageStatisticsCalculator.h.

Constructor & Destructor Documentation

mitk::ImageStatisticsCalculator::StatisticsContainer::StatisticsContainer ( )
protected

Definition at line 519 of file mitkImageStatisticsCalculator.cpp.

Member Function Documentation

std::string mitk::ImageStatisticsCalculator::StatisticsContainer::GetAsString ( )

Generates a string that contains all real valued statistics stored in this class (= all statistics except minIndex, maxIndex and the histogram)

Documentation

Definition at line 612 of file mitkImageStatisticsCalculator.cpp.

virtual const char* mitk::ImageStatisticsCalculator::StatisticsContainer::GetClassName ( ) const
virtual

Runtime information support.

const RealType& mitk::ImageStatisticsCalculator::StatisticsContainer::GetEntropy ( ) const
inline

Definition at line 231 of file mitkImageStatisticsCalculator.h.

const HistogramType::Pointer mitk::ImageStatisticsCalculator::StatisticsContainer::GetHistogram ( ) const
inline

Definition at line 221 of file mitkImageStatisticsCalculator.h.

const RealType& mitk::ImageStatisticsCalculator::StatisticsContainer::GetKurtosis ( ) const
inline

Definition at line 168 of file mitkImageStatisticsCalculator.h.

const unsigned int& mitk::ImageStatisticsCalculator::StatisticsContainer::GetLabel ( ) const
inline

Definition at line 188 of file mitkImageStatisticsCalculator.h.

const RealType& mitk::ImageStatisticsCalculator::StatisticsContainer::GetMax ( ) const
inline

Definition at line 138 of file mitkImageStatisticsCalculator.h.

vnl_vector<int> mitk::ImageStatisticsCalculator::StatisticsContainer::GetMaxIndex ( ) const
inline

Definition at line 208 of file mitkImageStatisticsCalculator.h.

const RealType& mitk::ImageStatisticsCalculator::StatisticsContainer::GetMean ( ) const
inline

Definition at line 98 of file mitkImageStatisticsCalculator.h.

const RealType& mitk::ImageStatisticsCalculator::StatisticsContainer::GetMedian ( ) const
inline

Definition at line 241 of file mitkImageStatisticsCalculator.h.

const RealType& mitk::ImageStatisticsCalculator::StatisticsContainer::GetMin ( ) const
inline

Definition at line 128 of file mitkImageStatisticsCalculator.h.

vnl_vector<int> mitk::ImageStatisticsCalculator::StatisticsContainer::GetMinIndex ( ) const
inline

Definition at line 198 of file mitkImageStatisticsCalculator.h.

const RealType& mitk::ImageStatisticsCalculator::StatisticsContainer::GetMPP ( ) const
inline

Definition at line 178 of file mitkImageStatisticsCalculator.h.

const long& mitk::ImageStatisticsCalculator::StatisticsContainer::GetN ( ) const
inline

Definition at line 88 of file mitkImageStatisticsCalculator.h.

const RealType& mitk::ImageStatisticsCalculator::StatisticsContainer::GetRMS ( ) const
inline

Definition at line 148 of file mitkImageStatisticsCalculator.h.

const RealType& mitk::ImageStatisticsCalculator::StatisticsContainer::GetSkewness ( ) const
inline

Definition at line 158 of file mitkImageStatisticsCalculator.h.

ImageStatisticsCalculator::statisticsMapType mitk::ImageStatisticsCalculator::StatisticsContainer::GetStatisticsAsMap ( )

Returns a std::map<std::string, StatisticsValueType (aka double)> containing all real valued statistics stored in this class (= all statistics except minIndex, maxIndex and the histogram)

Documentation

Definition at line 539 of file mitkImageStatisticsCalculator.cpp.

const RealType& mitk::ImageStatisticsCalculator::StatisticsContainer::GetStd ( ) const
inline

Definition at line 118 of file mitkImageStatisticsCalculator.h.

const RealType& mitk::ImageStatisticsCalculator::StatisticsContainer::GetUniformity ( ) const
inline

Definition at line 251 of file mitkImageStatisticsCalculator.h.

const RealType& mitk::ImageStatisticsCalculator::StatisticsContainer::GetUPP ( ) const
inline

Definition at line 261 of file mitkImageStatisticsCalculator.h.

const RealType& mitk::ImageStatisticsCalculator::StatisticsContainer::GetVariance ( ) const
inline

Definition at line 108 of file mitkImageStatisticsCalculator.h.

static Pointer mitk::ImageStatisticsCalculator::StatisticsContainer::New ( )
static
void mitk::ImageStatisticsCalculator::StatisticsContainer::Print ( )

Creates a StatisticsMapType containing all real valued statistics stored in this class (= all statistics except minIndex, maxIndex and the histogram) and prints its contents to std::cout.

Documentation

Definition at line 585 of file mitkImageStatisticsCalculator.cpp.

void mitk::ImageStatisticsCalculator::StatisticsContainer::Reset ( void  )

Deletes all stored values.

Documentation

Definition at line 563 of file mitkImageStatisticsCalculator.cpp.

References mitk::New().

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetEntropy ( RealType  entropy)
inline

Definition at line 226 of file mitkImageStatisticsCalculator.h.

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetHistogram ( HistogramType::Pointer  hist)
inline

Definition at line 213 of file mitkImageStatisticsCalculator.h.

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetKurtosis ( RealType  kurtosis)
inline

Definition at line 163 of file mitkImageStatisticsCalculator.h.

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetLabel ( unsigned int  label)
inline

Definition at line 183 of file mitkImageStatisticsCalculator.h.

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetMax ( RealType  maxVal)
inline

Definition at line 133 of file mitkImageStatisticsCalculator.h.

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetMaxIndex ( vnl_vector< int >  maxIndex)
inline

Definition at line 203 of file mitkImageStatisticsCalculator.h.

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetMean ( RealType  mean)
inline

Definition at line 93 of file mitkImageStatisticsCalculator.h.

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetMedian ( RealType  median)
inline

Definition at line 236 of file mitkImageStatisticsCalculator.h.

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetMin ( RealType  minVal)
inline

Definition at line 123 of file mitkImageStatisticsCalculator.h.

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetMinIndex ( vnl_vector< int >  minIndex)
inline

Definition at line 193 of file mitkImageStatisticsCalculator.h.

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetMPP ( RealType  mpp)
inline

Definition at line 173 of file mitkImageStatisticsCalculator.h.

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetN ( long  n)
inline

Definition at line 83 of file mitkImageStatisticsCalculator.h.

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetRMS ( RealType  rms)
inline

Definition at line 143 of file mitkImageStatisticsCalculator.h.

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetSkewness ( RealType  skewness)
inline

Definition at line 153 of file mitkImageStatisticsCalculator.h.

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetStd ( RealType  std)
inline

Definition at line 113 of file mitkImageStatisticsCalculator.h.

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetUniformity ( RealType  uniformity)
inline

Definition at line 246 of file mitkImageStatisticsCalculator.h.

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetUPP ( RealType  upp)
inline

Definition at line 256 of file mitkImageStatisticsCalculator.h.

void mitk::ImageStatisticsCalculator::StatisticsContainer::SetVariance ( RealType  variance)
inline

Definition at line 103 of file mitkImageStatisticsCalculator.h.


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