ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkNaryAddImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
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 &) |
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.
Definition at line 98 of file itkNaryAddImageFilter.h.
typedef SmartPointer< const Self > itk::NaryAddImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Add1< TInputImage::PixelType, TInputImage::PixelType > >.
Definition at line 112 of file itkNaryAddImageFilter.h.
typedef SmartPointer< Self > itk::NaryAddImageFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Add1< TInputImage::PixelType, TInputImage::PixelType > >.
Definition at line 111 of file itkNaryAddImageFilter.h.
typedef NaryAddImageFilter itk::NaryAddImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Add1< TInputImage::PixelType, TInputImage::PixelType > >.
Definition at line 105 of file itkNaryAddImageFilter.h.
typedef NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Add1< typename TInputImage::PixelType, typename TInputImage::PixelType > > itk::NaryAddImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Add1< TInputImage::PixelType, TInputImage::PixelType > >.
Definition at line 109 of file itkNaryAddImageFilter.h.
itk::NaryAddImageFilter< TInputImage, TOutputImage >::NaryAddImageFilter | ( | ) | [inline, protected] |
End concept checking
Definition at line 132 of file itkNaryAddImageFilter.h.
virtual itk::NaryAddImageFilter< TInputImage, TOutputImage >::~NaryAddImageFilter | ( | ) | [inline, protected, virtual] |
End concept checking
Definition at line 133 of file itkNaryAddImageFilter.h.
itk::NaryAddImageFilter< TInputImage, TOutputImage >::NaryAddImageFilter | ( | const Self & | ) | [private] |
End concept checking
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 > >.
virtual const char* itk::NaryAddImageFilter< TInputImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Add1< TInputImage::PixelType, TInputImage::PixelType > >.
static Pointer itk::NaryAddImageFilter< TInputImage, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Add1< TInputImage::PixelType, TInputImage::PixelType > >.
void itk::NaryAddImageFilter< TInputImage, TOutputImage >::operator= | ( | const Self & | ) | [private] |
End concept checking
Reimplemented from itk::NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Add1< TInputImage::PixelType, TInputImage::PixelType > >.
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 > )
itk::NaryAddImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::HasZero< typename TInputImage::PixelType > | ) |
This class requires InputHasZeroCheck in the form of ( Concept::HasZero< typename TInputImage::PixelType > )