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

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

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

#include <itkMedianImageFunction.h>

List of all members.

Public Types

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

Public Member Functions

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

Static Public Member Functions

Pointer New ()

Protected Member Functions

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


Detailed Description

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

Calculate the median value in the neighborhood of a pixel.

Calculate the median 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 itkMedianImageFunction.h.


Member Typedef Documentation

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

Definition at line 53 of file itkMedianImageFunction.h.

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

ContinuousIndex typedef support. Definition at line 72 of file itkMedianImageFunction.h.

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

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

Index typedef support. Definition at line 69 of file itkMedianImageFunction.h.

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

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

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

template<class TInputImage, class TCoordRep = float>
typedef Superclass::InputPixelType itk::MedianImageFunction< TInputImage, TCoordRep >::InputPixelType
 

Definition at line 63 of file itkMedianImageFunction.h.

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

OutputType typedef support. Definition at line 66 of file itkMedianImageFunction.h.

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

Definition at line 52 of file itkMedianImageFunction.h.

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

Point typedef support. Definition at line 75 of file itkMedianImageFunction.h.

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

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

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

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

Definition at line 51 of file itkMedianImageFunction.h.


Constructor & Destructor Documentation

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

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

Definition at line 102 of file itkMedianImageFunction.h.

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


Member Function Documentation

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

Evaluate the function at non-integer positions Definition at line 85 of file itkMedianImageFunction.h.

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

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

Evaluate the function at non-integer positions Definition at line 91 of file itkMedianImageFunction.h.

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

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

Evalulate the function at specified index

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

Run-time type information (and related methods).

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

Dimension of the underlying image.

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

Method for creation through the object factory.

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


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:10:23 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000