Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::HistogramGenerator Class Reference

Provides an easy way to calculate an itk::Histogram for a mitk::Image. More...

#include <mitkHistogramGenerator.h>

Inheritance diagram for mitk::HistogramGenerator:
Collaboration diagram for mitk::HistogramGenerator:

Public Types

typedef HistogramGenerator Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::Statistics::Histogram< double > HistogramType
 

Public Member Functions

virtual std::vector< std::string > GetClassHierarchy () const
 
virtual const char * GetClassName () const
 
Pointer Clone () const
 
virtual void SetImage (mitk::Image::ConstPointer _arg)
 
virtual void SetSize (int _arg)
 
virtual int GetSize () const
 
virtual const HistogramTypeGetHistogram ()
 
void ComputeHistogram ()
 
float GetMaximumFrequency () const
 

Static Public Member Functions

static const char * GetStaticNameOfClass ()
 
static Pointer New ()
 
static float CalculateMaximumFrequency (const HistogramType *histogram)
 

Protected Member Functions

 HistogramGenerator ()
 
virtual ~HistogramGenerator ()
 

Protected Attributes

mitk::Image::ConstPointer m_Image
 
int m_Size
 
HistogramType::ConstPointer m_Histogram
 

Detailed Description

Provides an easy way to calculate an itk::Histogram for a mitk::Image.

Definition at line 30 of file mitkHistogramGenerator.h.

Member Typedef Documentation

typedef itk::Statistics::Histogram<double> mitk::HistogramGenerator::HistogramType

Definition at line 35 of file mitkHistogramGenerator.h.

Definition at line 33 of file mitkHistogramGenerator.h.

Constructor & Destructor Documentation

mitk::HistogramGenerator::HistogramGenerator ( )
protected

Definition at line 36 of file mitkHistogramGenerator.cpp.

mitk::HistogramGenerator::~HistogramGenerator ( )
protectedvirtual

Definition at line 40 of file mitkHistogramGenerator.cpp.

Member Function Documentation

float mitk::HistogramGenerator::CalculateMaximumFrequency ( const HistogramType histogram)
static

Definition at line 114 of file mitkHistogramGenerator.cpp.

Pointer mitk::HistogramGenerator::Clone ( ) const
void mitk::HistogramGenerator::ComputeHistogram ( )
virtual std::vector<std::string> mitk::HistogramGenerator::GetClassHierarchy ( ) const
inlinevirtual

Definition at line 33 of file mitkHistogramGenerator.h.

virtual const char* mitk::HistogramGenerator::GetClassName ( ) const
virtual
virtual const HistogramType* mitk::HistogramGenerator::GetHistogram ( )
virtual
float mitk::HistogramGenerator::GetMaximumFrequency ( ) const

Definition at line 109 of file mitkHistogramGenerator.cpp.

virtual int mitk::HistogramGenerator::GetSize ( ) const
virtual

Referenced by InternalCompute().

static const char* mitk::HistogramGenerator::GetStaticNameOfClass ( )
inlinestatic

Definition at line 33 of file mitkHistogramGenerator.h.

virtual void mitk::HistogramGenerator::SetImage ( mitk::Image::ConstPointer  _arg)
virtual
virtual void mitk::HistogramGenerator::SetSize ( int  _arg)
virtual

Member Data Documentation

HistogramType::ConstPointer mitk::HistogramGenerator::m_Histogram
protected

Definition at line 54 of file mitkHistogramGenerator.h.

mitk::Image::ConstPointer mitk::HistogramGenerator::m_Image
protected

Definition at line 52 of file mitkHistogramGenerator.h.

int mitk::HistogramGenerator::m_Size
protected

Definition at line 53 of file mitkHistogramGenerator.h.


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