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

itk::VarianceImageFunction< TInputImage, TCoordRep > Class Template Reference
[Image Functions]

Calculate the variance in the neighborhood of a pixel. More...

#include <itkVarianceImageFunction.h>

List of all members.

Public Types

typedef VarianceImageFunction Self
typedef ImageFunction< TInputImage,
typename NumericTraits< typename
TInputImage::PixelType
>::RealType, TCoordRep > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputImage InputImageType
typedef Superclass::OutputType OutputType
typedef Superclass::IndexType IndexType
typedef Superclass::ContinuousIndexType ContinuousIndexType
typedef Superclass::PointType PointType
typedef NumericTraits< typename
InputImageType::PixelType
>::RealType 
RealType

Public Member Functions

virtual const char * GetClassName () const
 itkStaticConstMacro (ImageDimension, unsigned int, InputImageType::ImageDimension)
virtual RealType EvaluateAtIndex (const IndexType &index) const
virtual RealType Evaluate (const PointType &point) const
virtual RealType EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const
virtual void SetNeighborhoodRadius (unsigned int _arg)
virtual const unsigned int & GetNeighborhoodRadius ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

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


Detailed Description

template<class TInputImage, class TCoordRep = float>
class itk::VarianceImageFunction< TInputImage, TCoordRep >

Calculate the variance in the neighborhood of a pixel.

Calculate the variance pixel value over the standard 8, 26, etc. connected neighborhood. This calculation uses a ZeroFluxNeumannBoundaryCondition.

If called with a ContinuousIndex or Point, the calculation is performed at the nearest neighbor.

This class is templated over the input image type and the coordinate representation type (e.g. float or double ).

Definition at line 42 of file itkVarianceImageFunction.h.


Member Typedef Documentation

template<class TInputImage, class TCoordRep = float>
typedef SmartPointer<const Self> itk::VarianceImageFunction< TInputImage, TCoordRep >::ConstPointer
 

Definition at line 53 of file itkVarianceImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef Superclass::ContinuousIndexType itk::VarianceImageFunction< TInputImage, TCoordRep >::ContinuousIndexType
 

ContinuousIndex typedef support. Definition at line 71 of file itkVarianceImageFunction.h.

Referenced by itk::VarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex().

template<class TInputImage, class TCoordRep = float>
typedef Superclass::IndexType itk::VarianceImageFunction< TInputImage, TCoordRep >::IndexType
 

Index typedef support. Definition at line 68 of file itkVarianceImageFunction.h.

Referenced by itk::VarianceImageFunction< TInputImage, TCoordRep >::Evaluate(), and itk::VarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex().

template<class TInputImage, class TCoordRep = float>
typedef TInputImage itk::VarianceImageFunction< TInputImage, TCoordRep >::InputImageType
 

InputImageType typedef support. Definition at line 62 of file itkVarianceImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef Superclass::OutputType itk::VarianceImageFunction< TInputImage, TCoordRep >::OutputType
 

OutputType typdef support. Definition at line 65 of file itkVarianceImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef SmartPointer<Self> itk::VarianceImageFunction< TInputImage, TCoordRep >::Pointer
 

Definition at line 52 of file itkVarianceImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef Superclass::PointType itk::VarianceImageFunction< TInputImage, TCoordRep >::PointType
 

Point typedef support. Definition at line 74 of file itkVarianceImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef NumericTraits<typename InputImageType::PixelType>::RealType itk::VarianceImageFunction< TInputImage, TCoordRep >::RealType
 

Datatype used for the variance Definition at line 82 of file itkVarianceImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef VarianceImageFunction itk::VarianceImageFunction< TInputImage, TCoordRep >::Self
 

Standard class typedefs. Definition at line 49 of file itkVarianceImageFunction.h.

Referenced by itk::VarianceImageFunction< TInputImage, TCoordRep >::~VarianceImageFunction().

template<class TInputImage, class TCoordRep = float>
typedef ImageFunction<TInputImage, typename NumericTraits<typename TInputImage::PixelType>::RealType, TCoordRep > itk::VarianceImageFunction< TInputImage, TCoordRep >::Superclass
 

Definition at line 51 of file itkVarianceImageFunction.h.


Constructor & Destructor Documentation

template<class TInputImage, class TCoordRep = float>
itk::VarianceImageFunction< TInputImage, TCoordRep >::VarianceImageFunction  )  [protected]
 

template<class TInputImage, class TCoordRep = float>
itk::VarianceImageFunction< TInputImage, TCoordRep >::~VarianceImageFunction  )  [inline, protected]
 

Definition at line 112 of file itkVarianceImageFunction.h.

References itk::VarianceImageFunction< TInputImage, TCoordRep >::Self.


Member Function Documentation

template<class TInputImage, class TCoordRep = float>
virtual RealType itk::VarianceImageFunction< TInputImage, TCoordRep >::Evaluate const PointType point  )  const [inline, virtual]
 

Evaluate the function at non-integer positions Definition at line 88 of file itkVarianceImageFunction.h.

References itk::VarianceImageFunction< TInputImage, TCoordRep >::IndexType.

template<class TInputImage, class TCoordRep = float>
virtual RealType itk::VarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex const ContinuousIndexType cindex  )  const [inline, virtual]
 

Evaluate the function at non-integer positions Definition at line 94 of file itkVarianceImageFunction.h.

References itk::VarianceImageFunction< TInputImage, TCoordRep >::ContinuousIndexType, and itk::VarianceImageFunction< TInputImage, TCoordRep >::IndexType.

template<class TInputImage, class TCoordRep = float>
virtual RealType itk::VarianceImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex const IndexType index  )  const [virtual]
 

Evalulate the function at specified index

template<class TInputImage, class TCoordRep = float>
virtual const char* itk::VarianceImageFunction< TInputImage, TCoordRep >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

template<class TInputImage, class TCoordRep = float>
virtual const unsigned int& itk::VarianceImageFunction< TInputImage, TCoordRep >::GetNeighborhoodRadius  )  [virtual]
 

Get/Set the radius of the neighborhood over which the statistics are evaluated

template<class TInputImage, class TCoordRep = float>
itk::VarianceImageFunction< TInputImage, TCoordRep >::itkStaticConstMacro ImageDimension  ,
unsigned  int,
InputImageType::ImageDimension 
 

Dimension of the underlying image.

template<class TInputImage, class TCoordRep = float>
Pointer itk::VarianceImageFunction< TInputImage, TCoordRep >::New  )  [static]
 

Method for creation through the object factory.

template<class TInputImage, class TCoordRep = float>
void itk::VarianceImageFunction< TInputImage, TCoordRep >::PrintSelf std::ostream &  os,
Indent  indent
const [protected]
 

template<class TInputImage, class TCoordRep = float>
virtual void itk::VarianceImageFunction< TInputImage, TCoordRep >::SetNeighborhoodRadius unsigned int  _arg  )  [virtual]
 

Get/Set the radius of the neighborhood over which the statistics are evaluated


The documentation for this class was generated from the following file:
Generated at Sat Mar 31 03:00:55 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000