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

#include <itkHistogramToLogProbabilityImageFilter.h>

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

List of all members.

Public Types

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

Public Member Functions

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

Detailed Description

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

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 97 of file itkHistogramToLogProbabilityImageFilter.h.


Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Method for creation through the object factory.

Definition at line 120 of file itkHistogramToLogProbabilityImageFilter.h.

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

Method for creation through the object factory.

Definition at line 121 of file itkHistogramToLogProbabilityImageFilter.h.

template<class THistogram , class TImage = Image< double, 3 >>
itk::HistogramToLogProbabilityImageFilter< THistogram, TImage >::HistogramToLogProbabilityImageFilter ( 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::HistogramToLogProbabilityImageFilter< THistogram, TImage >::CreateAnother ( void  ) const [virtual]
template<class THistogram , class TImage = Image< double, 3 >>
virtual const char* itk::HistogramToLogProbabilityImageFilter< THistogram, TImage >::GetNameOfClass ( ) const [virtual]
template<class THistogram , class TImage = Image< double, 3 >>
static Pointer itk::HistogramToLogProbabilityImageFilter< THistogram, TImage >::New ( ) [static]
template<class THistogram , class TImage = Image< double, 3 >>
void itk::HistogramToLogProbabilityImageFilter< THistogram, TImage >::operator= ( const Self ) [private]

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