Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
itkFFT1DComplexConjugateToRealImageFilter.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 /*=========================================================================
13  *
14  * Copyright Insight Software Consortium
15  *
16  * Licensed under the Apache License, Version 2.0 (the "License");
17  * you may not use this file except in compliance with the License.
18  * You may obtain a copy of the License at
19  *
20  * http://www.apache.org/licenses/LICENSE-2.0.txt
21  *
22  * Unless required by applicable law or agreed to in writing, software
23  * distributed under the License is distributed on an "AS IS" BASIS,
24  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25  * See the License for the specific language governing permissions and
26  * limitations under the License.
27  *
28  *=========================================================================*/
29 #ifndef itkFFT1DComplexConjugateToRealImageFilter_h
30 #define itkFFT1DComplexConjugateToRealImageFilter_h
31 
32 #include <complex>
33 
34 #include "itkImageToImageFilter.h"
35 #include "itkImageRegionSplitterDirection.h"
36 
37 namespace itk
38 {
48  public ImageToImageFilter< TInputImage, TOutputImage >
49 {
50 public:
52  typedef TInputImage InputImageType;
53  typedef TOutputImage OutputImageType;
54  typedef typename OutputImageType::RegionType OutputImageRegionType;
55 
57  typedef ImageToImageFilter< InputImageType, OutputImageType > Superclass;
60 
61  itkStaticConstMacro(ImageDimension, unsigned int, InputImageType::ImageDimension );
62 
63  itkTypeMacro( FFT1DComplexConjugateToRealImageFilter, ImageToImageFilter );
64 
70  static Pointer New(void);
71 
73  itkGetMacro(Direction, unsigned int);
74 
76  itkSetClampMacro(Direction, unsigned int, 0, ImageDimension - 1);
77 
78 protected:
81 
82  void PrintSelf(std::ostream& os, Indent indent) const ITK_OVERRIDE;
83 
84  void GenerateInputRequestedRegion() ITK_OVERRIDE;
85  void EnlargeOutputRequestedRegion(DataObject *output) ITK_OVERRIDE;
86 
87  void BeforeThreadedGenerateData() ITK_OVERRIDE;
88 
91  const ImageRegionSplitterBase* GetImageRegionSplitter() const ITK_OVERRIDE;
92 
95  unsigned int m_Direction;
96 
97 private:
99  void operator=( const Self& );
100 
101  ImageRegionSplitterDirection::Pointer m_ImageRegionSplitter;
102 };
103 }
104 
105 #ifndef ITK_MANUAL_INSTANTIATION
106 #ifndef itkVnlFFT1DComplexConjugateToRealImageFilter_h
107 #ifndef itkVnlFFT1DComplexConjugateToRealImageFilter_hxx
108 #ifndef itkFFTW1DComplexConjugateToRealImageFilter_h
109 #ifndef itkFFTW1DComplexConjugateToRealImageFilter_hxx
110 #include "itkFFT1DComplexConjugateToRealImageFilter.hxx"
111 #endif
112 #endif
113 #endif
114 #endif
115 #endif
116 
117 #endif // itkFFT1DComplexConjugateToRealImageFilter_h
itkStaticConstMacro(ImageDimension, unsigned int, InputImageType::ImageDimension)
const ImageRegionSplitterBase * GetImageRegionSplitter() const ITK_OVERRIDE
Perform the Fast Fourier Transform, in the reverse direction, with real output, but only along one di...
void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
ImageToImageFilter< InputImageType, OutputImageType > Superclass
ValueType
Type of the value held by a Value object.
Definition: jsoncpp.h:345
void EnlargeOutputRequestedRegion(DataObject *output) ITK_OVERRIDE