ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkNaryAddImageFilter.h>
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 definition of the operator+ with each other. This condition is required because internally this filter will perform the operation
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
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.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Add1< TInputImage::PixelType, TInputImage::PixelType > > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Private Member Functions | |
NaryAddImageFilter (const Self &) | |
void | operator= (const Self &) |
typedef SmartPointer< const Self > itk::NaryAddImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 112 of file itkNaryAddImageFilter.h.
typedef SmartPointer< Self > itk::NaryAddImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 111 of file itkNaryAddImageFilter.h.
typedef NaryAddImageFilter itk::NaryAddImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
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 |
Definition at line 109 of file itkNaryAddImageFilter.h.
|
inlineprotected |
Definition at line 132 of file itkNaryAddImageFilter.h.
|
inlineprotectedvirtual |
Definition at line 133 of file itkNaryAddImageFilter.h.
|
private |
|
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::Object.
|
virtual |
Runtime information support.
Reimplemented from itk::NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Add1< TInputImage::PixelType, TInputImage::PixelType > >.
|
static |
Method for creation through the object factory.
|
private |
itk::NaryAddImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Convertible< typename TInputImage::PixelType, typename TOutputImage::PixelType > | ) |
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 > )