ITK  4.13.0
Insight Segmentation and Registration Toolkit
itkFullToHalfHermitianImageFilter.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 itkFullToHalfHermitianImageFilter_h
19 #define itkFullToHalfHermitianImageFilter_h
20 
21 #include "itkImageToImageFilter.h"
23 
24 namespace itk
25 {
44 template< typename TInputImage >
45 class ITK_TEMPLATE_EXPORT FullToHalfHermitianImageFilter :
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(FullToHalfHermitianImageFilter,
76 
78  itkStaticConstMacro(ImageDimension, unsigned int,
79  TInputImage::ImageDimension);
80 
83  itkGetDecoratedOutputMacro(ActualXDimensionIsOdd, bool);
84 
85 protected:
88 
89  void ThreadedGenerateData(const OutputImageRegionType & outputRegionForThread,
90  ThreadIdType threadId) ITK_OVERRIDE;
91 
93  virtual void GenerateOutputInformation() ITK_OVERRIDE;
94 
96  virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
97 
98  itkSetDecoratedOutputMacro(ActualXDimensionIsOdd, bool);
99 
100 private:
101  ITK_DISALLOW_COPY_AND_ASSIGN(FullToHalfHermitianImageFilter);
102 };
103 } // end namespace itk
104 
105 #ifndef ITK_MANUAL_INSTANTIATION
106 #include "itkFullToHalfHermitianImageFilter.hxx"
107 #endif
108 
109 #endif // itkFullToHalfHermitianImageFilter_h
Light weight base class for most itk classes.
signed long IndexValueType
Definition: itkIntTypes.h:150
unsigned long SizeValueType
Definition: itkIntTypes.h:143
ImageToImageFilter< TInputImage, TInputImage > Superclass
InputImageType::IndexValueType InputImageIndexValueType
OutputImageType::SizeValueType OutputImageSizeValueType
unsigned int ThreadIdType
Definition: itkIntTypes.h:159
Base class for filters that take an image as input and produce an image as output.
Reduces the size of a full complex image produced from a forward discrete Fourier transform of a real...
OutputImageType::IndexValueType OutputImageIndexValueType