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

itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension > Class Template Reference
[Operators]

#include <itkSpatialObjectToImageStatisticsCalculator.h>

Inheritance diagram for itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >:

Inheritance graph
[legend]
Collaboration diagram for itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef SpatialObjectToImageStatisticsCalculator Self
typedef Object Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputImage ImageType
typedef TInputImage::Pointer ImagePointer
typedef TInputImage::ConstPointer ImageConstPointer
typedef TInputImage::PixelType PixelType
typedef TInputImage::IndexType IndexType
typedef NumericTraits< PixelType
>::AccumulateType 
AccumulateType
typedef TInputSpatialObject SpatialObjectType
typedef SpatialObjectType::Pointer SpatialObjectPointer
typedef SpatialObjectType::ConstPointer SpatialObjectConstPointer
typedef itk::FloodFilledSpatialFunctionConditionalConstIterator<
ImageType, SpatialObjectType
IteratorType
typedef Vector< double, TSampleDimension > VectorType
typedef Matrix< double, TSampleDimension,
TSampleDimension > 
MatrixType

Public Member Functions

virtual const char * GetNameOfClass () const
 itkStaticConstMacro (ImageDimension, unsigned int, ImageType::ImageDimension)
 itkStaticConstMacro (SampleDimension, unsigned int, TSampleDimension)
 itkStaticConstMacro (ObjectDimension, unsigned int, TInputSpatialObject::ObjectDimension)
virtual void SetImage (const ImageType *_arg)
virtual void SetSpatialObject (SpatialObjectType *_arg)
const VectorTypeGetMean () const
const MatrixTypeGetCovarianceMatrix () const
AccumulateType GetSum () const
virtual unsigned long GetNumberOfPixels () const
void Update (void)
virtual void SetSampleDirection (unsigned int _arg)
virtual unsigned int GetSampleDirection ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

Detailed Description

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
class itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >

This calculator computes the mean and the covariance matrice of a certain region of an image specified by a spatial object.

Definition at line 34 of file itkSpatialObjectToImageStatisticsCalculator.h.


Member Typedef Documentation

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
typedef NumericTraits< PixelType >::AccumulateType itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::AccumulateType
 

Definition at line 56 of file itkSpatialObjectToImageStatisticsCalculator.h.

Referenced by itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::~SpatialObjectToImageStatisticsCalculator().

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
typedef SmartPointer<const Self> itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::ConstPointer
 

Reimplemented from itk::Object.

Definition at line 42 of file itkSpatialObjectToImageStatisticsCalculator.h.

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
typedef TInputImage::ConstPointer itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::ImageConstPointer
 

Definition at line 53 of file itkSpatialObjectToImageStatisticsCalculator.h.

Referenced by itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::~SpatialObjectToImageStatisticsCalculator().

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
typedef TInputImage::Pointer itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::ImagePointer
 

Definition at line 52 of file itkSpatialObjectToImageStatisticsCalculator.h.

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
typedef TInputImage itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::ImageType
 

Type definitions for the input image.

Definition at line 51 of file itkSpatialObjectToImageStatisticsCalculator.h.

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
typedef TInputImage::IndexType itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::IndexType
 

Definition at line 55 of file itkSpatialObjectToImageStatisticsCalculator.h.

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
typedef itk::FloodFilledSpatialFunctionConditionalConstIterator<ImageType, SpatialObjectType> itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::IteratorType
 

Type definition of the flood fill iterator

Definition at line 75 of file itkSpatialObjectToImageStatisticsCalculator.h.

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
typedef Matrix< double, TSampleDimension, TSampleDimension > itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::MatrixType
 

Definition at line 79 of file itkSpatialObjectToImageStatisticsCalculator.h.

Referenced by itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::~SpatialObjectToImageStatisticsCalculator().

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
typedef TInputImage::PixelType itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::PixelType
 

Definition at line 54 of file itkSpatialObjectToImageStatisticsCalculator.h.

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
typedef SmartPointer<Self> itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::Pointer
 

Reimplemented from itk::Object.

Definition at line 41 of file itkSpatialObjectToImageStatisticsCalculator.h.

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
typedef SpatialObjectToImageStatisticsCalculator itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::Self
 

Standard class typedefs.

Reimplemented from itk::Object.

Definition at line 39 of file itkSpatialObjectToImageStatisticsCalculator.h.

Referenced by itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::~SpatialObjectToImageStatisticsCalculator().

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
typedef SpatialObjectType::ConstPointer itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SpatialObjectConstPointer
 

Definition at line 71 of file itkSpatialObjectToImageStatisticsCalculator.h.

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
typedef SpatialObjectType::Pointer itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SpatialObjectPointer
 

Definition at line 70 of file itkSpatialObjectToImageStatisticsCalculator.h.

Referenced by itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::~SpatialObjectToImageStatisticsCalculator().

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
typedef TInputSpatialObject itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SpatialObjectType
 

Type definitions for the input spatial object.

Definition at line 69 of file itkSpatialObjectToImageStatisticsCalculator.h.

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
typedef Object itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::Superclass
 

Reimplemented from itk::Object.

Definition at line 40 of file itkSpatialObjectToImageStatisticsCalculator.h.

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
typedef Vector< double, TSampleDimension> itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::VectorType
 

Vector and Matrix Type

Definition at line 78 of file itkSpatialObjectToImageStatisticsCalculator.h.

Referenced by itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::~SpatialObjectToImageStatisticsCalculator().


Constructor & Destructor Documentation

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SpatialObjectToImageStatisticsCalculator  )  [protected]
 

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
virtual itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::~SpatialObjectToImageStatisticsCalculator  )  [inline, protected, virtual]
 

Definition at line 109 of file itkSpatialObjectToImageStatisticsCalculator.h.

References itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::AccumulateType, itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::ImageConstPointer, itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::MatrixType, itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::Self, itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SpatialObjectPointer, and itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::VectorType.


Member Function Documentation

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
const MatrixType& itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::GetCovarianceMatrix  )  const [inline]
 

Get the covariance matrix

Definition at line 96 of file itkSpatialObjectToImageStatisticsCalculator.h.

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
const VectorType& itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::GetMean  )  const [inline]
 

Get the mean

Definition at line 93 of file itkSpatialObjectToImageStatisticsCalculator.h.

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
virtual const char* itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Object.

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
virtual unsigned long itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::GetNumberOfPixels  )  const [virtual]
 

Get the number of pixels inside the object

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
virtual unsigned int itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::GetSampleDirection  )  [virtual]
 

Set/Get the direction of the sample

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
AccumulateType itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::GetSum  )  const [inline]
 

Get the sum of pixels

Definition at line 99 of file itkSpatialObjectToImageStatisticsCalculator.h.

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::itkStaticConstMacro ObjectDimension  ,
unsigned  int,
TInputSpatialObject::ObjectDimension 
 

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::itkStaticConstMacro SampleDimension  ,
unsigned  int,
TSampleDimension 
 

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::itkStaticConstMacro ImageDimension  ,
unsigned  int,
ImageType::ImageDimension 
 

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
Pointer itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
void itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::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 TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
virtual void itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SetImage const ImageType _arg  )  [virtual]
 

Set the input image.

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
virtual void itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SetSampleDirection unsigned int  _arg  )  [virtual]
 

Set/Get the direction of the sample

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
virtual void itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SetSpatialObject SpatialObjectType _arg  )  [virtual]
 

Set the input spatial object.

template<class TInputImage, class TInputSpatialObject, unsigned int TSampleDimension = 1>
void itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::Update void   ) 
 

Compute of the input image.


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