ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions
itk::NaryAddImageFilter< TInputImage, TOutputImage > Class Template Reference

Pixel-wise addition of N images. More...

#include <itkNaryAddImageFilter.h>

Inheritance diagram for itk::NaryAddImageFilter< TInputImage, TOutputImage >:
Collaboration diagram for itk::NaryAddImageFilter< TInputImage, TOutputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef NaryAddImageFilter Self
typedef NaryFunctorImageFilter
< TInputImage, TOutputImage,
Functor::Add1< typename
TInputImage::PixelType,
typename
TInputImage::PixelType > > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
 typedef (Concept::Convertible< typename TInputImage::PixelType, typename TOutputImage::PixelType >) InputConvertibleToOutputCheck
 typedef (Concept::HasZero< typename TInputImage::PixelType >) InputHasZeroCheck

Static Public Member Functions

static Pointer New ()
 NaryAddImageFilter ()
virtual ~NaryAddImageFilter ()
 NaryAddImageFilter (const Self &)
void operator= (const Self &)

Detailed Description

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

Pixel-wise addition of N images.

This class is templated over the types of the input images and the type of the output image. Numeric conversions (castings) are done by the C++ defaults.

The pixel type of the input images must have a valid defintion of the operator+ with each other. This condition is required because internally this filter will perform the operation

        pixel_from_image_N + pixel_from_image_(N+1)

Additionally the type resulting from the sum, will be cast to the pixel type of the output image.

The total operation over one pixel will be

  output_pixel = static_cast<OutputPixelType>( input_pixel_N + input_pixel_(N+1) )

For example, this filter could be used directly for adding images whose pixels are vectors of the same dimension, and to store the resulting vector in an output image of vector pixels.

Warning:
No numeric overflow checking is performed in this filter.

Definition at line 98 of file itkNaryAddImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef SmartPointer< const Self > itk::NaryAddImageFilter< TInputImage, TOutputImage >::ConstPointer
template<class TInputImage , class TOutputImage >
typedef SmartPointer< Self > itk::NaryAddImageFilter< TInputImage, TOutputImage >::Pointer
template<class TInputImage , class TOutputImage >
typedef NaryAddImageFilter itk::NaryAddImageFilter< TInputImage, TOutputImage >::Self
template<class TInputImage , class TOutputImage >
typedef NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Add1< typename TInputImage::PixelType, typename TInputImage::PixelType > > itk::NaryAddImageFilter< TInputImage, TOutputImage >::Superclass

Constructor & Destructor Documentation

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

End concept checking

Definition at line 132 of file itkNaryAddImageFilter.h.

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

End concept checking

Definition at line 133 of file itkNaryAddImageFilter.h.

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

End concept checking


Member Function Documentation

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer itk::NaryAddImageFilter< 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::NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Add1< TInputImage::PixelType, TInputImage::PixelType > >.

template<class TInputImage , class TOutputImage >
virtual const char* itk::NaryAddImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const [virtual]
template<class TInputImage , class TOutputImage >
static Pointer itk::NaryAddImageFilter< TInputImage, TOutputImage >::New ( ) [static]
template<class TInputImage , class TOutputImage >
void itk::NaryAddImageFilter< TInputImage, TOutputImage >::operator= ( const Self ) [private]
template<class TInputImage , class TOutputImage >
itk::NaryAddImageFilter< TInputImage, TOutputImage >::typedef ( Concept::Convertible< typename TInputImage::PixelType, typename TOutputImage::PixelType >  )

Begin concept checking This class requires InputConvertibleToOutputCheck in the form of ( Concept::Convertible< typename TInputImage::PixelType, typename TOutputImage::PixelType > )

template<class TInputImage , class TOutputImage >
itk::NaryAddImageFilter< TInputImage, TOutputImage >::typedef ( Concept::HasZero< typename TInputImage::PixelType >  )

This class requires InputHasZeroCheck in the form of ( Concept::HasZero< typename TInputImage::PixelType > )


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