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

itk::Statistics::ImageToHistogramGenerator< TImageType > Class Template Reference

This class generates an histogram from an image. More...

#include <itkImageToHistogramGenerator.h>

Inheritance diagram for itk::Statistics::ImageToHistogramGenerator< TImageType >:

Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::ImageToHistogramGenerator< TImageType >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ImageToHistogramGenerator Self
typedef Object Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TImageType ImageType
typedef ImageToListAdaptor<
ImageType
AdaptorType
typedef AdaptorType::Pointer AdaptorPointer
typedef ImageType::PixelType PixelType
typedef PixelType::ValueType ValueType
typedef NumericTraits< ValueType
>::RealType 
ValueRealType
typedef DenseFrequencyContainer FrequencyContainerType
typedef ListSampleToHistogramGenerator<
AdaptorType, ValueRealType,
FrequencyContainerType,
::itk::Statistics::GetAdaptorMeasurementVectorLength<
AdaptorType >::MeasurementVectorLength > 
GeneratorType
typedef GeneratorType::Pointer GeneratorPointer
typedef GeneratorType::HistogramType HistogramType
typedef HistogramType::Pointer HistogramPointer
typedef HistogramType::ConstPointer HistogramConstPointer
typedef HistogramType::SizeType SizeType
typedef HistogramType::MeasurementVectorType MeasurementVectorType

Public Member Functions

virtual const char * GetNameOfClass () const
void Compute (void)
void SetInput (const ImageType *)
const HistogramTypeGetOutput () const
void SetNumberOfBins (const SizeType &size)
void SetMarginalScale (double marginalScale)
void SetHistogramMin (const MeasurementVectorType &histogramMin)
void SetHistogramMax (const MeasurementVectorType &histogramMax)
void SetAutoMinMax (bool autoMinMax)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 ImageToHistogramGenerator ()
virtual ~ImageToHistogramGenerator ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<class TImageType>
class itk::Statistics::ImageToHistogramGenerator< TImageType >

This class generates an histogram from an image.

The concept of Histogram in ITK is quite generic. It has been designed to manage multiple components data. This class facilitates the computation of an histogram from an image. Internally it creates a List that is feed into the ListSampleToHistogramGenerator.

Definition at line 47 of file itkImageToHistogramGenerator.h.


Member Typedef Documentation

template<class TImageType>
typedef AdaptorType::Pointer itk::Statistics::ImageToHistogramGenerator< TImageType >::AdaptorPointer
 

Definition at line 64 of file itkImageToHistogramGenerator.h.

Referenced by itk::Statistics::ImageToHistogramGenerator< TImageType >::~ImageToHistogramGenerator().

template<class TImageType>
typedef ImageToListAdaptor< ImageType > itk::Statistics::ImageToHistogramGenerator< TImageType >::AdaptorType
 

Definition at line 63 of file itkImageToHistogramGenerator.h.

template<class TImageType>
typedef SmartPointer<const Self> itk::Statistics::ImageToHistogramGenerator< TImageType >::ConstPointer
 

Reimplemented from itk::Object.

Definition at line 54 of file itkImageToHistogramGenerator.h.

template<class TImageType>
typedef DenseFrequencyContainer itk::Statistics::ImageToHistogramGenerator< TImageType >::FrequencyContainerType
 

Definition at line 68 of file itkImageToHistogramGenerator.h.

template<class TImageType>
typedef GeneratorType::Pointer itk::Statistics::ImageToHistogramGenerator< TImageType >::GeneratorPointer
 

Definition at line 78 of file itkImageToHistogramGenerator.h.

Referenced by itk::Statistics::ImageToHistogramGenerator< TImageType >::~ImageToHistogramGenerator().

template<class TImageType>
typedef ListSampleToHistogramGenerator< AdaptorType, ValueRealType, FrequencyContainerType, ::itk::Statistics::GetAdaptorMeasurementVectorLength< AdaptorType >::MeasurementVectorLength > itk::Statistics::ImageToHistogramGenerator< TImageType >::GeneratorType
 

Definition at line 76 of file itkImageToHistogramGenerator.h.

template<class TImageType>
typedef HistogramType::ConstPointer itk::Statistics::ImageToHistogramGenerator< TImageType >::HistogramConstPointer
 

Definition at line 82 of file itkImageToHistogramGenerator.h.

template<class TImageType>
typedef HistogramType::Pointer itk::Statistics::ImageToHistogramGenerator< TImageType >::HistogramPointer
 

Definition at line 81 of file itkImageToHistogramGenerator.h.

template<class TImageType>
typedef GeneratorType::HistogramType itk::Statistics::ImageToHistogramGenerator< TImageType >::HistogramType
 

Definition at line 80 of file itkImageToHistogramGenerator.h.

template<class TImageType>
typedef TImageType itk::Statistics::ImageToHistogramGenerator< TImageType >::ImageType
 

Definition at line 62 of file itkImageToHistogramGenerator.h.

template<class TImageType>
typedef HistogramType::MeasurementVectorType itk::Statistics::ImageToHistogramGenerator< TImageType >::MeasurementVectorType
 

Definition at line 84 of file itkImageToHistogramGenerator.h.

template<class TImageType>
typedef ImageType::PixelType itk::Statistics::ImageToHistogramGenerator< TImageType >::PixelType
 

Definition at line 65 of file itkImageToHistogramGenerator.h.

template<class TImageType>
typedef SmartPointer<Self> itk::Statistics::ImageToHistogramGenerator< TImageType >::Pointer
 

Reimplemented from itk::Object.

Definition at line 53 of file itkImageToHistogramGenerator.h.

template<class TImageType>
typedef ImageToHistogramGenerator itk::Statistics::ImageToHistogramGenerator< TImageType >::Self
 

Standard typedefs

Reimplemented from itk::Object.

Definition at line 51 of file itkImageToHistogramGenerator.h.

template<class TImageType>
typedef HistogramType::SizeType itk::Statistics::ImageToHistogramGenerator< TImageType >::SizeType
 

Definition at line 83 of file itkImageToHistogramGenerator.h.

template<class TImageType>
typedef Object itk::Statistics::ImageToHistogramGenerator< TImageType >::Superclass
 

Reimplemented from itk::Object.

Definition at line 52 of file itkImageToHistogramGenerator.h.

template<class TImageType>
typedef NumericTraits< ValueType >::RealType itk::Statistics::ImageToHistogramGenerator< TImageType >::ValueRealType
 

Definition at line 67 of file itkImageToHistogramGenerator.h.

template<class TImageType>
typedef PixelType::ValueType itk::Statistics::ImageToHistogramGenerator< TImageType >::ValueType
 

Definition at line 66 of file itkImageToHistogramGenerator.h.


Constructor & Destructor Documentation

template<class TImageType>
itk::Statistics::ImageToHistogramGenerator< TImageType >::ImageToHistogramGenerator  )  [protected]
 

template<class TImageType>
virtual itk::Statistics::ImageToHistogramGenerator< TImageType >::~ImageToHistogramGenerator  )  [inline, protected, virtual]
 

Definition at line 111 of file itkImageToHistogramGenerator.h.

References itk::Statistics::ImageToHistogramGenerator< TImageType >::AdaptorPointer, and itk::Statistics::ImageToHistogramGenerator< TImageType >::GeneratorPointer.


Member Function Documentation

template<class TImageType>
void itk::Statistics::ImageToHistogramGenerator< TImageType >::Compute void   ) 
 

Triggers the Computation of the histogram

template<class TImageType>
virtual const char* itk::Statistics::ImageToHistogramGenerator< TImageType >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Object.

template<class TImageType>
const HistogramType* itk::Statistics::ImageToHistogramGenerator< TImageType >::GetOutput  )  const
 

Return the histogram. o

Warning:
This output is only valid after the Compute() method has been invoked
See also:
Compute

template<class TImageType>
Pointer itk::Statistics::ImageToHistogramGenerator< TImageType >::New  )  [static]
 

standard New() method support

Reimplemented from itk::Object.

template<class TImageType>
void itk::Statistics::ImageToHistogramGenerator< TImageType >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::Object.

template<class TImageType>
void itk::Statistics::ImageToHistogramGenerator< TImageType >::SetAutoMinMax bool  autoMinMax  ) 
 

Set marginal scale value to be passed to the histogram generator

template<class TImageType>
void itk::Statistics::ImageToHistogramGenerator< TImageType >::SetHistogramMax const MeasurementVectorType histogramMax  ) 
 

Set marginal scale value to be passed to the histogram generator

template<class TImageType>
void itk::Statistics::ImageToHistogramGenerator< TImageType >::SetHistogramMin const MeasurementVectorType histogramMin  ) 
 

Set marginal scale value to be passed to the histogram generator

template<class TImageType>
void itk::Statistics::ImageToHistogramGenerator< TImageType >::SetInput const ImageType  ) 
 

Connects the input image for which the histogram is going to be computed

template<class TImageType>
void itk::Statistics::ImageToHistogramGenerator< TImageType >::SetMarginalScale double  marginalScale  ) 
 

Set marginal scale value to be passed to the histogram generator

template<class TImageType>
void itk::Statistics::ImageToHistogramGenerator< TImageType >::SetNumberOfBins const SizeType size  ) 
 

Set number of histogram bins


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