diff --git a/Modules/Filtering/FFT/include/itkComplexToComplex1DFFTImageFilter.h b/Modules/Filtering/FFT/include/itkComplexToComplex1DFFTImageFilter.h index 70a3b118e90..b4ad28ecc2d 100644 --- a/Modules/Filtering/FFT/include/itkComplexToComplex1DFFTImageFilter.h +++ b/Modules/Filtering/FFT/include/itkComplexToComplex1DFFTImageFilter.h @@ -79,7 +79,7 @@ class ITK_TEMPLATE_EXPORT ComplexToComplex1DFFTImageFilter : public ImageToImage itkGetConstMacro(TransformDirection, TransformDirectionType); /** Get the direction in which the filter is to be applied. */ - itkGetMacro(Direction, unsigned int); + itkGetConstMacro(Direction, unsigned int); /** Set the direction in which the filter is to be applied. */ itkSetClampMacro(Direction, unsigned int, 0, InputImageType::ImageDimension - 1); diff --git a/Modules/Filtering/FFT/include/itkForward1DFFTImageFilter.h b/Modules/Filtering/FFT/include/itkForward1DFFTImageFilter.h index 39b95cbf61f..a14550f8ff5 100644 --- a/Modules/Filtering/FFT/include/itkForward1DFFTImageFilter.h +++ b/Modules/Filtering/FFT/include/itkForward1DFFTImageFilter.h @@ -62,7 +62,7 @@ class ITK_TEMPLATE_EXPORT Forward1DFFTImageFilter : public ImageToImageFilter