Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::HistogramToEntropyImageFilter< THistogram > Class Template Reference

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. More...

#include <itkHistogramToEntropyImageFilter.h>

Inheritance diagram for itk::HistogramToEntropyImageFilter< THistogram >:

Inheritance graph
[legend]
Collaboration diagram for itk::HistogramToEntropyImageFilter< THistogram >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef HistogramToEntropyImageFilter Self
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer

Static Public Member Functions

Pointer New ()

Protected Member Functions

 HistogramToEntropyImageFilter ()
virtual ~HistogramToEntropyImageFilter ()

Detailed Description

template<class THistogram>
class itk::HistogramToEntropyImageFilter< THistogram >

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 101 of file itkHistogramToEntropyImageFilter.h.


Member Typedef Documentation

template<class THistogram>
typedef SmartPointer<const Self> itk::HistogramToEntropyImageFilter< THistogram >::ConstPointer
 

Reimplemented from itk::HistogramToImageFilter< THistogram, TFunction >.

Definition at line 110 of file itkHistogramToEntropyImageFilter.h.

template<class THistogram>
typedef SmartPointer<Self> itk::HistogramToEntropyImageFilter< THistogram >::Pointer
 

Reimplemented from itk::HistogramToImageFilter< THistogram, TFunction >.

Definition at line 109 of file itkHistogramToEntropyImageFilter.h.

template<class THistogram>
typedef HistogramToEntropyImageFilter itk::HistogramToEntropyImageFilter< THistogram >::Self
 

Standard class typedefs.

Reimplemented from itk::HistogramToImageFilter< THistogram, TFunction >.

Definition at line 108 of file itkHistogramToEntropyImageFilter.h.


Constructor & Destructor Documentation

template<class THistogram>
itk::HistogramToEntropyImageFilter< THistogram >::HistogramToEntropyImageFilter  )  [inline, protected]
 

Definition at line 116 of file itkHistogramToEntropyImageFilter.h.

template<class THistogram>
virtual itk::HistogramToEntropyImageFilter< THistogram >::~HistogramToEntropyImageFilter  )  [inline, protected, virtual]
 

Definition at line 117 of file itkHistogramToEntropyImageFilter.h.


Member Function Documentation

template<class THistogram>
Pointer itk::HistogramToEntropyImageFilter< THistogram >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::HistogramToImageFilter< THistogram, TFunction >.


The documentation for this class was generated from the following file:
Generated at Thu May 25 01:09:21 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000