Class NaryAddImageFilter


public class NaryAddImageFilter extends ImageFilter
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. WARNING: No numeric overflow checking is performed in this filter. See: itk::simple::NaryAdd for the procedural interface C++ includes: sitkNaryAddImageFilter.h
  • Constructor Details

    • NaryAddImageFilter

      protected NaryAddImageFilter(long cPtr, boolean cMemoryOwn)
    • NaryAddImageFilter

      public NaryAddImageFilter()
      itk::simple::NaryAddImageFilter::NaryAddImageFilter() Default Constructor that takes no arguments and initializes default parameters
  • Method Details

    • getCPtr

      protected static long getCPtr(NaryAddImageFilter obj)
    • swigRelease

      protected static long swigRelease(NaryAddImageFilter obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class ImageFilter
    • delete

      public void delete()
      virtual itk::simple::NaryAddImageFilter::~NaryAddImageFilter() Destructor
      Overrides:
      delete in class ImageFilter
    • getName

      public String getName()
      std::string itk::simple::NaryAddImageFilter::GetName() const Name of this class
      Overrides:
      getName in class ProcessObject
    • toString

      public String toString()
      std::string itk::simple::NaryAddImageFilter::ToString() const Print ourselves out
      Overrides:
      toString in class ProcessObject
    • execute

      public Image execute(VectorOfImage images)
      Image itk::simple::NaryAddImageFilter::Execute(const std::vector< Image > &images) Execute the filter on the input images
    • execute

      public Image execute(Image image1)
      Image itk::simple::NaryAddImageFilter::Execute(const std::vector< Image > &images) Execute the filter on the input images
    • execute

      public Image execute(Image image1, Image image2)
      Image itk::simple::NaryAddImageFilter::Execute(const std::vector< Image > &images) Execute the filter on the input images
    • execute

      public Image execute(Image image1, Image image2, Image image3)
      Image itk::simple::NaryAddImageFilter::Execute(const std::vector< Image > &images) Execute the filter on the input images
    • execute

      public Image execute(Image image1, Image image2, Image image3, Image image4)
      Image itk::simple::NaryAddImageFilter::Execute(const std::vector< Image > &images) Execute the filter on the input images
    • execute

      public Image execute(Image image1, Image image2, Image image3, Image image4, Image image5)
      Image itk::simple::NaryAddImageFilter::Execute(const std::vector< Image > &images) Execute the filter on the input images