Medical Imaging Interaction Toolkit  2018.4.99-ae21cdc4
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 ()
 
 ~HistogramGenerator () override
 

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 26 of file mitkHistogramGenerator.h.

Member Typedef Documentation

◆ ConstPointer

◆ HistogramType

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

Definition at line 33 of file mitkHistogramGenerator.h.

◆ Pointer

◆ Self

◆ Superclass

Definition at line 29 of file mitkHistogramGenerator.h.

Constructor & Destructor Documentation

◆ HistogramGenerator()

mitk::HistogramGenerator::HistogramGenerator ( )
protected

◆ ~HistogramGenerator()

mitk::HistogramGenerator::~HistogramGenerator ( )
overrideprotected

Member Function Documentation

◆ CalculateMaximumFrequency()

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

◆ Clone()

Pointer mitk::HistogramGenerator::Clone ( ) const

◆ ComputeHistogram()

void mitk::HistogramGenerator::ComputeHistogram ( )

◆ GetClassHierarchy()

virtual std::vector<std::string> mitk::HistogramGenerator::GetClassHierarchy ( ) const
inlinevirtual

Definition at line 29 of file mitkHistogramGenerator.h.

◆ GetClassName()

virtual const char* mitk::HistogramGenerator::GetClassName ( ) const
virtual

◆ GetHistogram()

virtual const HistogramType* mitk::HistogramGenerator::GetHistogram ( )
virtual

◆ GetMaximumFrequency()

float mitk::HistogramGenerator::GetMaximumFrequency ( ) const

◆ GetSize()

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

◆ GetStaticNameOfClass()

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

Definition at line 29 of file mitkHistogramGenerator.h.

◆ New()

static Pointer mitk::HistogramGenerator::New ( )
static

◆ SetImage()

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

◆ SetSize()

virtual void mitk::HistogramGenerator::SetSize ( int  _arg)
virtual

Member Data Documentation

◆ m_Histogram

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

Definition at line 52 of file mitkHistogramGenerator.h.

◆ m_Image

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

Definition at line 50 of file mitkHistogramGenerator.h.

◆ m_Size

int mitk::HistogramGenerator::m_Size
protected

Definition at line 51 of file mitkHistogramGenerator.h.


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