ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions
itk::HistogramToEntropyImageFilter< THistogram, TImage > Class Template Reference

#include <itkHistogramToEntropyImageFilter.h>

+ Inheritance diagram for itk::HistogramToEntropyImageFilter< THistogram, TImage >:
+ Collaboration diagram for itk::HistogramToEntropyImageFilter< THistogram, TImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef
HistogramToEntropyImageFilter 
Self
typedef HistogramToImageFilter
< THistogram, TImage,
Function::HistogramEntropyFunction
< SizeValueType, typename
TImage::PixelType > > 
Superclass

Public Member Functions

virtual const char * GetNameOfClass () const
virtual ::itk::LightObject::Pointer CreateAnother (void) const
static Pointer New ()
 HistogramToEntropyImageFilter ()
virtual ~HistogramToEntropyImageFilter ()
 HistogramToEntropyImageFilter (const Self &)
void operator= (const Self &)

Detailed Description

template<class THistogram, class TImage = Image< double, 3>>
class itk::HistogramToEntropyImageFilter< THistogram, TImage >

The class takes a histogram as an input and gives the entropy image as the output. A pixel, at position I, in the output image is given by.

\[ f(I) = -p \log_2 p \]

where

\[ p = \frac{q_I}{\sum_{i \in I} q_I} \]

where $q_I$ is the frequency of measurement vector, I.

$p$ is the frequency of a measurement vector by the sum of all frequencies = Probability of the the measurement vector

The output image is of type double.

This is useful in plotting the joint histograms during registration.

See also:
HistogramToImageFilter, HistogramToLogProbabilityImageFilter, HistogramToIntensityImageFilter, HistogramToProbabilityImageFilter

Definition at line 102 of file itkHistogramToEntropyImageFilter.h.


Member Typedef Documentation

template<class THistogram , class TImage = Image< double, 3>>
typedef SmartPointer< const Self > itk::HistogramToEntropyImageFilter< THistogram, TImage >::ConstPointer
template<class THistogram , class TImage = Image< double, 3>>
typedef SmartPointer< Self > itk::HistogramToEntropyImageFilter< THistogram, TImage >::Pointer
template<class THistogram , class TImage = Image< double, 3>>
typedef HistogramToEntropyImageFilter itk::HistogramToEntropyImageFilter< THistogram, TImage >::Self
template<class THistogram , class TImage = Image< double, 3>>
typedef HistogramToImageFilter< THistogram, TImage, Function::HistogramEntropyFunction< SizeValueType, typename TImage::PixelType > > itk::HistogramToEntropyImageFilter< THistogram, TImage >::Superclass

Constructor & Destructor Documentation

template<class THistogram , class TImage = Image< double, 3>>
itk::HistogramToEntropyImageFilter< THistogram, TImage >::HistogramToEntropyImageFilter ( ) [inline, protected]

Method for creation through the object factory.

Definition at line 125 of file itkHistogramToEntropyImageFilter.h.

template<class THistogram , class TImage = Image< double, 3>>
virtual itk::HistogramToEntropyImageFilter< THistogram, TImage >::~HistogramToEntropyImageFilter ( ) [inline, protected, virtual]

Method for creation through the object factory.

Definition at line 126 of file itkHistogramToEntropyImageFilter.h.

template<class THistogram , class TImage = Image< double, 3>>
itk::HistogramToEntropyImageFilter< THistogram, TImage >::HistogramToEntropyImageFilter ( const Self ) [private]

Method for creation through the object factory.


Member Function Documentation

template<class THistogram , class TImage = Image< double, 3>>
virtual::itk::LightObject::Pointer itk::HistogramToEntropyImageFilter< THistogram, TImage >::CreateAnother ( void  ) const [virtual]
template<class THistogram , class TImage = Image< double, 3>>
virtual const char* itk::HistogramToEntropyImageFilter< THistogram, TImage >::GetNameOfClass ( ) const [virtual]
template<class THistogram , class TImage = Image< double, 3>>
static Pointer itk::HistogramToEntropyImageFilter< THistogram, TImage >::New ( ) [static]
template<class THistogram , class TImage = Image< double, 3>>
void itk::HistogramToEntropyImageFilter< THistogram, TImage >::operator= ( const Self ) [private]

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