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

#include <itkGetAverageSliceImageFilter.h>

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

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef GetAverageSliceImageFilter Self
typedef AccumulateImageFilter
< TInputImage, TOutputImage > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const

Static Public Member Functions

static Pointer New ()

Private Member Functions

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

Private Attributes

unsigned int m_AveragedOutDimension
virtual unsigned int GetAveragedOutDimension () const
virtual void SetAveragedOutDimension (unsigned int _arg)
 GetAverageSliceImageFilter ()
virtual ~GetAverageSliceImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

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

Averages a single dimension of an image.

This class averages an image along a dimension and reduces the size of this dimension to 1. The dimension being averaged is set by AveragedOutDimension.

Each pixel is the average of the pixels along the collapsed dimension and reduce the size of the averaged dimension to 1 (only on the averaged dimension).

The dimensions of the InputImage and the OutputImage must be the same.

This class is parameterized over the type of the input image and the type of the output image.

See also:
AccumulateImageFilter

Definition at line 48 of file itkGetAverageSliceImageFilter.h.


Member Typedef Documentation

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

Standard class typedefs.

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

Definition at line 52 of file itkGetAverageSliceImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef AccumulateImageFilter< TInputImage, TOutputImage > itk::GetAverageSliceImageFilter< TInputImage, TOutputImage >::Superclass

Constructor & Destructor Documentation

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

Set the direction in which to reflect the data.

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

Set the direction in which to reflect the data.

Definition at line 68 of file itkGetAverageSliceImageFilter.h.

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

Member Function Documentation

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer itk::GetAverageSliceImageFilter< 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::AccumulateImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
virtual unsigned int itk::GetAverageSliceImageFilter< TInputImage, TOutputImage >::GetAveragedOutDimension ( ) const [virtual]

Set the direction in which to reflect the data.

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

Run-time type information (and related methods).

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

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

Method for creation through the object factory.

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

template<class TInputImage , class TOutputImage >
void itk::GetAverageSliceImageFilter< 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::AccumulateImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
void itk::GetAverageSliceImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

Set the direction in which to reflect the data.

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

template<class TInputImage , class TOutputImage >
virtual void itk::GetAverageSliceImageFilter< TInputImage, TOutputImage >::SetAveragedOutDimension ( unsigned int  _arg) [virtual]

Set the direction in which to reflect the data.


Member Data Documentation

template<class TInputImage , class TOutputImage >
unsigned int itk::GetAverageSliceImageFilter< TInputImage, TOutputImage >::m_AveragedOutDimension [private]

Definition at line 76 of file itkGetAverageSliceImageFilter.h.


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