Skip to content
Snippets Groups Projects
Commit dcf8d052 authored by Julien Michel's avatar Julien Michel
Browse files

ENH: Modify filter to use the FFT proxy in ITK instead of the vnl implementation

parent 2e3ce7e0
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#define __otbForwardFourierMellinTransformImageFilter_h #define __otbForwardFourierMellinTransformImageFilter_h
#include "otbImage.h" #include "otbImage.h"
#include "itkVnlForwardFFTImageFilter.h" #include "itkForwardFFTImageFilter.h"
#include "otbLogPolarTransform.h" #include "otbLogPolarTransform.h"
#include "itkResampleImageFilter.h" #include "itkResampleImageFilter.h"
#include "itkImageRegionIteratorWithIndex.h" #include "itkImageRegionIteratorWithIndex.h"
...@@ -35,7 +35,7 @@ namespace otb ...@@ -35,7 +35,7 @@ namespace otb
* This class implements a composite filter. It combines two filters : * This class implements a composite filter. It combines two filters :
* - otb::LogPolarResampleImageFilter : converting the input image in a * - otb::LogPolarResampleImageFilter : converting the input image in a
log-polar system coordinate log-polar system coordinate
* - itk::VnlFFTRealToComplexConjugateImageFilter : applying the Forward * - itk::ForwardFFTImageFilter : applying the Forward
Fourier transform of the log-polar image. Fourier transform of the log-polar image.
* *
* \note the Fourier transform image is coded from 0.0 to 1.0 * \note the Fourier transform image is coded from 0.0 to 1.0
...@@ -59,7 +59,7 @@ public: ...@@ -59,7 +59,7 @@ public:
typedef Image<TPixel, Dimension> InputImageType; typedef Image<TPixel, Dimension> InputImageType;
/* typedef otb::Image< std::complex< TPixel > , Dimension > OutputImageType; */ /* typedef otb::Image< std::complex< TPixel > , Dimension > OutputImageType; */
typedef typename itk::VnlForwardFFTImageFilter<InputImageType> FourierImageFilterType; typedef typename itk::ForwardFFTImageFilter<InputImageType> FourierImageFilterType;
typedef typename FourierImageFilterType::OutputImageType OutputImageType; typedef typename FourierImageFilterType::OutputImageType OutputImageType;
/** Standard class typedefs. */ /** Standard class typedefs. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment