ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
itk::MeanImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <itkMeanImageFilter.h>

+ Inheritance diagram for itk::MeanImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for itk::MeanImageFilter< TInputImage, TOutputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef InputImageType::RegionType InputImageRegionType
typedef TInputImage InputImageType
typedef InputImageType::PixelType InputPixelType
typedef NumericTraits
< InputPixelType >::RealType 
InputRealType
typedef InputImageType::SizeType InputSizeType
typedef OutputImageType::RegionType OutputImageRegionType
typedef TOutputImage OutputImageType
typedef OutputImageType::PixelType OutputPixelType
typedef SmartPointer< SelfPointer
typedef MeanImageFilter Self
typedef BoxImageFilter
< InputImageType,
OutputImageType
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
 typedef (Concept::HasNumericTraits< InputPixelType >) InputHasNumericTraitsCheck

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int InputImageDimension = TInputImage::ImageDimension
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension

Protected Member Functions

 MeanImageFilter ()
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
virtual ~MeanImageFilter ()

Private Member Functions

 MeanImageFilter (const Self &)
void operator= (const Self &)

Detailed Description

template<class TInputImage, class TOutputImage>
class itk::MeanImageFilter< TInputImage, TOutputImage >

Applies an averaging filter to an image.

Computes an image where a given pixel is the mean value of the the pixels in a neighborhood about the corresponding input pixel.

A mean filter is one of the family of linear filters.

See also:
Image
Neighborhood
NeighborhoodOperator
NeighborhoodIterator
Wiki Examples:

Definition at line 48 of file itkMeanImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef SmartPointer< const Self > itk::MeanImageFilter< TInputImage, TOutputImage >::ConstPointer

Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.

Definition at line 67 of file itkMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef InputImageType::RegionType itk::MeanImageFilter< TInputImage, TOutputImage >::InputImageRegionType

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 80 of file itkMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef TInputImage itk::MeanImageFilter< TInputImage, TOutputImage >::InputImageType

Convenient typedefs for simplifying declarations.

Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.

Definition at line 60 of file itkMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef InputImageType::PixelType itk::MeanImageFilter< TInputImage, TOutputImage >::InputPixelType

Image typedef support.

Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.

Definition at line 73 of file itkMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef NumericTraits< InputPixelType >::RealType itk::MeanImageFilter< TInputImage, TOutputImage >::InputRealType

Definition at line 78 of file itkMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef InputImageType::SizeType itk::MeanImageFilter< TInputImage, TOutputImage >::InputSizeType

Definition at line 83 of file itkMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef OutputImageType::RegionType itk::MeanImageFilter< TInputImage, TOutputImage >::OutputImageRegionType

Superclass typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 81 of file itkMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef TOutputImage itk::MeanImageFilter< TInputImage, TOutputImage >::OutputImageType

Some convenient typedefs.

Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.

Definition at line 61 of file itkMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef OutputImageType::PixelType itk::MeanImageFilter< TInputImage, TOutputImage >::OutputPixelType

Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.

Definition at line 77 of file itkMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef SmartPointer< Self > itk::MeanImageFilter< TInputImage, TOutputImage >::Pointer

Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.

Definition at line 66 of file itkMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef MeanImageFilter itk::MeanImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.

Definition at line 64 of file itkMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef BoxImageFilter< InputImageType, OutputImageType > itk::MeanImageFilter< TInputImage, TOutputImage >::Superclass

Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.

Definition at line 65 of file itkMeanImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
itk::MeanImageFilter< TInputImage, TOutputImage >::MeanImageFilter ( ) [protected]

End concept checking

template<class TInputImage , class TOutputImage >
virtual itk::MeanImageFilter< TInputImage, TOutputImage >::~MeanImageFilter ( ) [inline, protected, virtual]

Definition at line 94 of file itkMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
itk::MeanImageFilter< TInputImage, TOutputImage >::MeanImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer itk::MeanImageFilter< TInputImage, TOutputImage >::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
virtual const char* itk::MeanImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
static Pointer itk::MeanImageFilter< TInputImage, TOutputImage >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
void itk::MeanImageFilter< TInputImage, TOutputImage >::operator= ( const Self ) [private]

PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.

Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
void itk::MeanImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
ThreadIdType  threadId 
) [protected, virtual]

MeanImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"

See also:
BoxImageFilter::ThreadedGenerateData(), BoxImageFilter::GenerateData()

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage , class TOutputImage >
itk::MeanImageFilter< TInputImage, TOutputImage >::typedef ( Concept::HasNumericTraits< InputPixelType )

Begin concept checking This class requires InputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< InputPixelType > )


Member Data Documentation

template<class TInputImage , class TOutputImage >
const unsigned int itk::MeanImageFilter< TInputImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension [static]

Extract dimension from input and output image.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 54 of file itkMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
const unsigned int itk::MeanImageFilter< TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension [static]

Extract dimension from input and output image.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 56 of file itkMeanImageFilter.h.


The documentation for this class was generated from the following file: