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

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

Calculate the mean value in the neighborhood of a pixel. More...

#include <itkMeanImageFunction.h>

Inheritance diagram for itk::MeanImageFunction:

Inheritance graph
[legend]
Collaboration diagram for itk::MeanImageFunction< TInputImage, TCoordRep >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef MeanImageFunction 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 Methods

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

Static Public Methods

Pointer New ()

Protected Methods

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

Detailed Description

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

Calculate the mean value in the neighborhood of a pixel.

Calculate the mean 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 itkMeanImageFunction.h.


Member Typedef Documentation

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

Reimplemented from itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType, TCoordRep >.

Definition at line 55 of file itkMeanImageFunction.h.

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

ContinuousIndex typedef support.

Reimplemented from itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType, TCoordRep >.

Definition at line 73 of file itkMeanImageFunction.h.

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

Index typedef support.

Reimplemented from itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType, TCoordRep >.

Definition at line 70 of file itkMeanImageFunction.h.

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

InputImageType typedef support.

Reimplemented from itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType, TCoordRep >.

Definition at line 64 of file itkMeanImageFunction.h.

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

OutputType typdef support.

Reimplemented from itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType, TCoordRep >.

Definition at line 67 of file itkMeanImageFunction.h.

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

Reimplemented from itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType, TCoordRep >.

Definition at line 54 of file itkMeanImageFunction.h.

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

Point typedef support.

Reimplemented from itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType, TCoordRep >.

Definition at line 76 of file itkMeanImageFunction.h.

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

Datatype used for the mean

Definition at line 84 of file itkMeanImageFunction.h.

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

Standard class typedefs.

Reimplemented from itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType, TCoordRep >.

Definition at line 50 of file itkMeanImageFunction.h.

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

Reimplemented from itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType, TCoordRep >.

Definition at line 53 of file itkMeanImageFunction.h.


Constructor & Destructor Documentation

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

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

Definition at line 107 of file itkMeanImageFunction.h.


Member Function Documentation

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

Evaluate the function at non-integer positions

Implements itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType, TCoordRep >.

Definition at line 90 of file itkMeanImageFunction.h.

References HardConnectedComponentImageFilter::IndexType.

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

Evaluate the function at non-integer positions

Implements itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType, TCoordRep >.

Definition at line 96 of file itkMeanImageFunction.h.

References HardConnectedComponentImageFilter::IndexType.

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

Evalulate the function at specified index

Implements itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType, TCoordRep >.

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

Run-time type information (and related methods).

Reimplemented from itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType, TCoordRep >.

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

Dimension of the underlying image.

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

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TInputImage, class TCoordRep = float>
void itk::MeanImageFunction< TInputImage, TCoordRep >::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::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType, TCoordRep >.


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:19:33 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000