Class FFTShiftImageFilter


public class FFTShiftImageFilter extends ImageFilter
Shift the zero-frequency components of a Fourier transform to the center of the image. The Fourier transform produces an image where the zero frequency components are in the corner of the image, making it difficult to understand. This filter shifts the component to the center of the image. For images with an odd-sized dimension, applying this filter twice will not produce the same image as the original one without using SetInverse(true) on one (and only one) of the two filters. https://www.insight-journal.org/browse/publication/125 Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France. See: ForwardFFTImageFilter , InverseFFTImageFilter itk::simple::FFTShift for the procedural interface itk::FFTShiftImageFilter for the Doxygen on the original ITK class. C++ includes: sitkFFTShiftImageFilter.h
  • Constructor Details

    • FFTShiftImageFilter

      protected FFTShiftImageFilter(long cPtr, boolean cMemoryOwn)
    • FFTShiftImageFilter

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

    • getCPtr

      protected static long getCPtr(FFTShiftImageFilter obj)
    • swigRelease

      protected static long swigRelease(FFTShiftImageFilter obj)
    • finalize

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

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

      public void setInverse(boolean Inverse)
      Self& itk::simple::FFTShiftImageFilter::SetInverse(bool Inverse) Set/Get whether the filter must invert the transform or not. This option has no effect if none of the size of the input image is even, but is required to restore the original image if at least one of the dimensions has an odd size.
    • inverseOn

      public void inverseOn()
      Self& itk::simple::FFTShiftImageFilter::InverseOn() Set the value of Inverse to true or false respectfully.
    • inverseOff

      public void inverseOff()
      Self& itk::simple::FFTShiftImageFilter::InverseOff()
    • getInverse

      public boolean getInverse()
      bool itk::simple::FFTShiftImageFilter::GetInverse() const Set/Get whether the filter must invert the transform or not. This option has no effect if none of the size of the input image is even, but is required to restore the original image if at least one of the dimensions has an odd size.
    • getName

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

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

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