ITK  4.13.0
Insight Segmentation and Registration Toolkit
itkHalfToFullHermitianImageFilter.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 itkHalfToFullHermitianImageFilter_h
19 #define itkHalfToFullHermitianImageFilter_h
20 
21 #include "itkImageToImageFilter.h"
23 
24 namespace itk
25 {
44 template< typename TInputImage >
45 class ITK_TEMPLATE_EXPORT HalfToFullHermitianImageFilter :
46  public ImageToImageFilter< TInputImage, TInputImage >
47 {
48 public:
50  typedef TInputImage InputImageType;
51  typedef typename InputImageType::PixelType InputImagePixelType;
56  typedef typename InputImageType::RegionType InputImageRegionType;
57  typedef TInputImage OutputImageType;
58  typedef typename OutputImageType::PixelType OutputImagePixelType;
63  typedef typename OutputImageType::RegionType OutputImageRegionType;
64 
69 
71  itkNewMacro(Self);
72 
74  itkTypeMacro(HalfToFullHermitianImageFilter,
76 
78  itkStaticConstMacro(ImageDimension, unsigned int,
79  TInputImage::ImageDimension);
80 
82  itkSetGetDecoratedInputMacro(ActualXDimensionIsOdd, bool);
83  itkBooleanMacro(ActualXDimensionIsOdd);
85 
86 protected:
89 
90  void ThreadedGenerateData(const OutputImageRegionType & outputRegionForThread,
91  ThreadIdType threadId) ITK_OVERRIDE;
92 
94  virtual void GenerateOutputInformation() ITK_OVERRIDE;
95 
97  virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
98 
99 private:
100  ITK_DISALLOW_COPY_AND_ASSIGN(HalfToFullHermitianImageFilter);
101 };
102 } // end namespace itk
103 
104 #ifndef ITK_MANUAL_INSTANTIATION
105 #include "itkHalfToFullHermitianImageFilter.hxx"
106 #endif
107 
108 #endif // itkHalfToFullHermitianImageFilter_h
ImageToImageFilter< TInputImage, TInputImage > Superclass
Light weight base class for most itk classes.
signed long IndexValueType
Definition: itkIntTypes.h:150
unsigned long SizeValueType
Definition: itkIntTypes.h:143
InputImageType::IndexValueType InputImageIndexValueType
unsigned int ThreadIdType
Definition: itkIntTypes.h:159
Base class for filters that take an image as input and produce an image as output.
OutputImageType::IndexValueType OutputImageIndexValueType
Expands a half image produced from a real-to-complex discrete Fourier transform (DFT) to the full com...
OutputImageType::SizeValueType OutputImageSizeValueType