ITK  4.9.0
Insight Segmentation and Registration Toolkit
itkVnlHalfHermitianToRealInverseFFTImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef itkVnlHalfHermitianToRealInverseFFTImageFilter_h
19 #define itkVnlHalfHermitianToRealInverseFFTImageFilter_h
20 
22 #include "itkVnlFFTCommon.h"
23 
24 #include "itkImage.h"
25 #include "vnl/algo/vnl_fft_base.h"
26 
27 namespace itk
28 {
42 template< typename TInputImage, typename TOutputImage=Image< typename TInputImage::PixelType::value_type, TInputImage::ImageDimension> >
44  public HalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage >
45 {
46 public:
48  typedef TInputImage InputImageType;
49  typedef typename InputImageType::PixelType InputPixelType;
50  typedef typename InputImageType::SizeType InputSizeType;
51  typedef typename InputImageType::IndexType InputIndexType;
53  typedef TOutputImage OutputImageType;
54  typedef typename OutputImageType::PixelType OutputPixelType;
55  typedef typename OutputImageType::IndexType OutputIndexType;
56  typedef typename OutputImageType::SizeType OutputSizeType;
58 
63 
65  itkNewMacro(Self);
66 
70 
73  itkStaticConstMacro(ImageDimension, unsigned int,
74  TOutputImage::ImageDimension);
75  itkStaticConstMacro(InputImageDimension, unsigned int,
76  TInputImage::ImageDimension);
77  itkStaticConstMacro(OutputImageDimension, unsigned int,
78  TOutputImage::ImageDimension);
80 
81  SizeValueType GetSizeGreatestPrimeFactor() const ITK_OVERRIDE;
82 
83 #ifdef ITK_USE_CONCEPT_CHECKING
84  // Begin concept checking
85  itkConceptMacro( PixelUnsignedIntDivisionOperatorsCheck,
87  itkConceptMacro( ImageDimensionsMatchCheck,
89  // End concept checking
90 #endif
91 
92 protected:
95 
96  virtual void GenerateData() ITK_OVERRIDE;
97 
98 private:
99  VnlHalfHermitianToRealInverseFFTImageFilter(const Self &) ITK_DELETE_FUNCTION;
100  void operator=(const Self &) ITK_DELETE_FUNCTION;
101 
103 };
104 }
105 
106 #ifndef ITK_MANUAL_INSTANTIATION
107 #include "itkVnlHalfHermitianToRealInverseFFTImageFilter.hxx"
108 #endif
109 
110 #endif
signed long IndexValueType
Definition: itkIntTypes.h:150
Base class for all process objects that output image data.
typedef(Concept::DivisionOperators< OutputPixelType, unsigned int >) PixelUnsignedIntDivisionOperatorsCheck
unsigned long SizeValueType
Definition: itkIntTypes.h:143
Base class for specialized complex-to-real inverse Fast Fourier Transform.
HalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage > Superclass
SizeValueType GetSizeGreatestPrimeFactor() const override
#define itkConceptMacro(name, concept)