Class FlipImageFilter


public class FlipImageFilter extends ImageFilter
Flips an image across user specified axes. FlipImageFilter flips an image across user specified axes. The flip axes are set via method SetFlipAxes( array ) where the input is a FixedArray<bool,ImageDimension>. The image is flipped across axes for which array[i] is true. In terms of grid coordinates the image is flipped within the LargestPossibleRegion of the input image. As such, the LargestPossibleRegion of the output image is the same as the input. In terms of geometric coordinates, the output origin is such that the image is flipped with respect to the coordinate axes. See: itk::simple::Flip for the procedural interface itk::FlipImageFilter for the Doxygen on the original ITK class. C++ includes: sitkFlipImageFilter.h
  • Constructor Details

    • FlipImageFilter

      protected FlipImageFilter(long cPtr, boolean cMemoryOwn)
    • FlipImageFilter

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

    • getCPtr

      protected static long getCPtr(FlipImageFilter obj)
    • swigRelease

      protected static long swigRelease(FlipImageFilter obj)
    • finalize

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

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

      public void setFlipAxes(VectorBool FlipAxes)
      Self& itk::simple::FlipImageFilter::SetFlipAxes(std::vector< bool > FlipAxes) Set/Get the axis to be flipped. The image is flipped along axes for which array[i] is true. Default is false.
    • getFlipAxes

      public VectorBool getFlipAxes()
      std::vector<bool> itk::simple::FlipImageFilter::GetFlipAxes() const Set/Get the axis to be flipped. The image is flipped along axes for which array[i] is true. Default is false.
    • setFlipAboutOrigin

      public void setFlipAboutOrigin(boolean FlipAboutOrigin)
      Self& itk::simple::FlipImageFilter::SetFlipAboutOrigin(bool FlipAboutOrigin) Controls how the output origin is computed. If FlipAboutOrigin is "On", the flip will occur about the origin of the axis, otherwise, the flip will occur about the center of the axis. Default is "On".
    • flipAboutOriginOn

      public void flipAboutOriginOn()
      Self& itk::simple::FlipImageFilter::FlipAboutOriginOn() Set the value of FlipAboutOrigin to true or false respectfully.
    • flipAboutOriginOff

      public void flipAboutOriginOff()
      Self& itk::simple::FlipImageFilter::FlipAboutOriginOff()
    • getFlipAboutOrigin

      public boolean getFlipAboutOrigin()
      bool itk::simple::FlipImageFilter::GetFlipAboutOrigin() const Controls how the output origin is computed. If FlipAboutOrigin is "On", the flip will occur about the origin of the axis, otherwise, the flip will occur about the center of the axis. Default is "On".
    • getName

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

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

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