Class FFTShiftImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.FFTShiftImageFilter
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://doi.org/10.54294/xd0lzg
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
-
Field Summary
Fields inherited from class ProcessObject
swigCMemOwn -
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::FFTShiftImageFilter::FFTShiftImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedFFTShiftImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::FFTShiftImageFilter::~FFTShiftImageFilter() DestructorImage itk::simple::FFTShiftImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()protected static longbooleanbool itk::simple::FFTShiftImageFilter::GetInverse() const Set/Get whether the filter must invert the transform or not.getName()std::string itk::simple::FFTShiftImageFilter::GetName() const Name of this classvoidSelf& itk::simple::FFTShiftImageFilter::InverseOff()voidSelf& itk::simple::FFTShiftImageFilter::InverseOn() Set the value of Inverse to true or false respectfully.voidsetInverse(boolean Inverse) Self& itk::simple::FFTShiftImageFilter::SetInverse(bool Inverse) Set/Get whether the filter must invert the transform or not.protected static longtoString()std::string itk::simple::FFTShiftImageFilter::ToString() const Print ourselves outMethods inherited from class ImageFilter
getCPtr, swigReleaseModifier and TypeMethodDescriptionprotected static longgetCPtr(ImageFilter obj) protected static longswigRelease(ImageFilter obj) Methods inherited from class ProcessObject
abort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigReleaseModifier and TypeMethodDescriptionvoidabort()virtual void itk::simple::ProcessObject::Abort() Sets an abort flag on the active process.intaddCommand(EventEnum event, Command cmd) virtual int itk::simple::ProcessObject::AddCommand(itk::simple::EventEnum event, itk::simple::Command &cmd) Add a Command Object to observer the event.voiddebugOff()voiddebugOn()protected static longgetCPtr(ProcessObject obj) booleangetDebug()static doublestatic booleanstatic doublestatic longstatic Stringstatic booleanlonglongfloatvirtual float itk::simple::ProcessObject::GetProgress() const An Active Measurement of the progress of execution.static voidstatic voidstatic voidstatic voidbooleanhasCommand(EventEnum event) virtual bool itk::simple::ProcessObject::HasCommand(itk::simple::EventEnum event) const Query of this object has any registered commands for event.voidvirtual void itk::simple::ProcessObject::RemoveAllCommands() Remove all registered commands.voidsetDebug(boolean debugFlag) static voidsetGlobalDefaultCoordinateTolerance(double arg0) static voidsetGlobalDefaultDebug(boolean debugFlag) static voidsetGlobalDefaultDirectionTolerance(double arg0) static voidsetGlobalDefaultNumberOfThreads(long n) static booleansetGlobalDefaultThreader(String threader) static voidsetGlobalWarningDisplay(boolean flag) voidsetNumberOfThreads(long n) voidsetNumberOfWorkUnits(long n) protected static longswigRelease(ProcessObject obj)
-
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
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalizein classImageFilter
-
delete
public void delete()virtual itk::simple::FFTShiftImageFilter::~FFTShiftImageFilter() Destructor- Overrides:
deletein classImageFilter
-
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
std::string itk::simple::FFTShiftImageFilter::GetName() const Name of this class- Overrides:
getNamein classProcessObject
-
toString
std::string itk::simple::FFTShiftImageFilter::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
-