Class CastImageFilter


public class CastImageFilter extends ImageFilter
A hybrid cast image filter to convert images to other types of images. Several different ITK classes are implemented under the hood, to convert between different image types. See: itk::simple::Cast for the procedural interface C++ includes: sitkCastImageFilter.h
  • Constructor Details

    • CastImageFilter

      protected CastImageFilter(long cPtr, boolean cMemoryOwn)
    • CastImageFilter

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

    • getCPtr

      protected static long getCPtr(CastImageFilter obj)
    • swigRelease

      protected static long swigRelease(CastImageFilter obj)
    • finalize

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

      public void delete()
      itk::simple::CastImageFilter::~CastImageFilter() override
      Overrides:
      delete in class ImageFilter
    • setOutputPixelType

      public void setOutputPixelType(PixelIDValueEnum pixelID)
      Self& itk::simple::CastImageFilter::SetOutputPixelType(PixelIDValueEnum pixelID) Set/Get the output pixel type
    • getOutputPixelType

      public PixelIDValueEnum getOutputPixelType()
      PixelIDValueEnum itk::simple::CastImageFilter::GetOutputPixelType() const
    • getName

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

      public String toString()
      std::string itk::simple::CastImageFilter::ToString() const override
      Overrides:
      toString in class ProcessObject
    • execute

      public Image execute(Image arg0)
      Image itk::simple::CastImageFilter::Execute(const Image &)