#include <itkFFTShiftImageFilter.h>
The fourier transform produce an image where the zero frequency components are in the corner of the image, making it difficult to understand. This filter shift the component to the center of the image. Note that with images with odd size, applying this filter twice will not produce the same image than the original one without using SetInverse(true) on one (and only one) of the two filters.
Public Types | |
typedef FFTShiftImageFilter | Self |
Standard class typedefs. | |
typedef TInputImage | InputImageType |
Some convenient typedefs. | |
Public Member Functions | |
itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension) | |
ImageDimension constants. | |
itkNewMacro (Self) | |
Standard New method. | |
itkTypeMacro (FFTShiftImageFilter, ImageToImageFilter) | |
Runtime information support. | |
itkSetMacro (Inverse, bool) | |
Set/Get whether the filter must perform an inverse transform or not. | |
Protected Member Functions | |
void | GenerateInputRequestedRegion () |
FFTShiftImageFilter needs the entire input be available. | |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId) |
Multi-thread version GenerateData. |
typedef FFTShiftImageFilter itk::FFTShiftImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
typedef TInputImage itk::FFTShiftImageFilter< TInputImage, TOutputImage >::InputImageType |
Some convenient typedefs.
itk::FFTShiftImageFilter< TInputImage, TOutputImage >::itkNewMacro | ( | Self | ) |
Standard New method.
itk::FFTShiftImageFilter< TInputImage, TOutputImage >::itkTypeMacro | ( | FFTShiftImageFilter< TInputImage, TOutputImage > | , | |
ImageToImageFilter | ||||
) |
Runtime information support.
itk::FFTShiftImageFilter< TInputImage, TOutputImage >::itkSetMacro | ( | Inverse | , | |
bool | ||||
) |
Set/Get whether the filter must perform an inverse transform or not.
This option has no effect if none of the size of the input image is odd, but is required to be able to restore the original image if at least one of the size is odd.
void itk::FFTShiftImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion | ( | ) | [protected] |
FFTShiftImageFilter needs the entire input be available.
Thus, it needs to provide an implementation of GenerateInputRequestedRegion().
void itk::FFTShiftImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData | ( | const OutputImageRegionType & | outputRegionForThread, | |
int | threadId | |||
) | [protected] |
Multi-thread version GenerateData.