Class MaskedAssignImageFilter


public class MaskedAssignImageFilter extends ImageFilter
Mask an image with a mask. This class is templated over the types of the input image type, the mask image type and the type of the output image. Numeric conversions (castings) are done by the C++ defaults. The pixel type of the input 2 image must have a valid definition of the operator != with zero. This condition is required because internally this filter will perform the operation The pixel from the input 1 is cast to the pixel type of the output image. Note that the input and the mask images must be of the same size. WARNING: Any pixel value other than masking value (0 by default) will not be masked out. See: MaskNegatedImageFilter itk::simple::MaskedAssign for the procedural interface itk::MaskedAssignImageFilter for the Doxygen on the original ITK class. C++ includes: sitkMaskedAssignImageFilter.h
  • Constructor Details

    • MaskedAssignImageFilter

      protected MaskedAssignImageFilter(long cPtr, boolean cMemoryOwn)
    • MaskedAssignImageFilter

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

    • getCPtr

      protected static long getCPtr(MaskedAssignImageFilter obj)
    • swigRelease

      protected static long swigRelease(MaskedAssignImageFilter obj)
    • finalize

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

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

      public void setAssignConstant(double AssignConstant)
      Self& itk::simple::MaskedAssignImageFilter::SetAssignConstant(double AssignConstant) Method to explicitly set the outside value of the mask when AssignImage is undefined. Defaults to 0
    • getAssignConstant

      public double getAssignConstant()
      double itk::simple::MaskedAssignImageFilter::GetAssignConstant() const
    • getName

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

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

      public Image execute(Image image, Image maskImage, Image assignImage)
      Image itk::simple::MaskedAssignImageFilter::Execute(Image &&image, const Image &maskImage, const Image &assignImage) Execute the filter on the input image
    • execute

      public Image execute(Image image, Image maskImage)
      Image itk::simple::MaskedAssignImageFilter::Execute(Image &&image, const Image &maskImage, const Image &assignImage) Execute the filter on the input image