Class NotImageFilter


public class NotImageFilter extends ImageFilter
Implements the NOT logical operator pixel-wise on an image. This class is templated over the type of an input image and the type of the output image. Numeric conversions (castings) are done by the C++ defaults. Since the logical NOT operation operates only on boolean types, the input type must be implicitly convertible to bool, which is only defined in C++ for integer types, the images passed to this filter must comply with the requirement of using integer pixel type. The total operation over one pixel will be Where "!" is the unary Logical NOT operator in C++. See: itk::simple::Not for the procedural interface itk::NotImageFilter for the Doxygen on the original ITK class. C++ includes: sitkNotImageFilter.h
  • Constructor Details

    • NotImageFilter

      protected NotImageFilter(long cPtr, boolean cMemoryOwn)
    • NotImageFilter

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

    • getCPtr

      protected static long getCPtr(NotImageFilter obj)
    • swigRelease

      protected static long swigRelease(NotImageFilter obj)
    • finalize

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

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

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

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

      public Image execute(Image image1)
      Image itk::simple::NotImageFilter::Execute(Image &&image1) Execute the filter on the input image