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

itk::HistogramToLogProbabilityImageFilter< THistogram > Class Template Reference

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

#include <itkHistogramToLogProbabilityImageFilter.h>

Inheritance diagram for itk::HistogramToLogProbabilityImageFilter< THistogram >:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef HistogramToLogProbabilityImageFilter Self
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer

Static Public Member Functions

Pointer New ()

Protected Member Functions

 HistogramToLogProbabilityImageFilter ()
virtual ~HistogramToLogProbabilityImageFilter ()

Detailed Description

template<class THistogram>
class itk::HistogramToLogProbabilityImageFilter< THistogram >

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

\[ f(I) = \log_2( \frac{q_I}{\sum_{i \in I} q_I} ) \]

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

This is the log of the frequency of a measurement vector by the sum of all frequencies.

The output image is of type double.

This is useful in plotting the joint histograms during registration.

See also:
HistogramToImageFilter, HistogramToProbabilityImageFilter, HistogramToIntensityImageFilter, HistogramToEntropyImageFilter

Definition at line 95 of file itkHistogramToLogProbabilityImageFilter.h.


Member Typedef Documentation

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

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

Definition at line 104 of file itkHistogramToLogProbabilityImageFilter.h.

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

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

Definition at line 103 of file itkHistogramToLogProbabilityImageFilter.h.

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

Standard class typedefs.

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

Definition at line 102 of file itkHistogramToLogProbabilityImageFilter.h.


Constructor & Destructor Documentation

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

Definition at line 110 of file itkHistogramToLogProbabilityImageFilter.h.

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

Definition at line 111 of file itkHistogramToLogProbabilityImageFilter.h.


Member Function Documentation

template<class THistogram>
Pointer itk::HistogramToLogProbabilityImageFilter< 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:57 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000