#include <itkNaryAddImageFilter.h>
Public Types | |
typedef NaryAddImageFilter | Self |
typedef NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Add1< typename TInputImage::PixelType, typename TOutputImage::PixelType > > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
NaryAddImageFilter () | |
virtual | ~NaryAddImageFilter () |
This class is parametrized over the types of the two input images and the type of the output image. Numeric conversions (castings) are done by the C++ defaults.
The pixel type of the input 1 image must have a valid defintion of the operator+ with a pixel type of the image 2. This condition is required because internally this filter will perform the operation
pixel_from_image_1 + pixel_from_image_2
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>( input1_pixel + input2_pixel )
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 77 of file itkNaryAddImageFilter.h.
|
Definition at line 90 of file itkNaryAddImageFilter.h. |
|
Definition at line 89 of file itkNaryAddImageFilter.h. |
|
Standard class typedefs. Definition at line 85 of file itkNaryAddImageFilter.h. |
|
Definition at line 88 of file itkNaryAddImageFilter.h. |
|
Definition at line 96 of file itkNaryAddImageFilter.h. |
|
Definition at line 97 of file itkNaryAddImageFilter.h. |
|
Method for creation through the object factory. |