ITK  5.1.0
Insight 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 : public ImageToImageFilter<TInputImage, TInputImage>
46 {
47 public:
48  ITK_DISALLOW_COPY_AND_ASSIGN(FullToHalfHermitianImageFilter);
49 
51  using InputImageType = TInputImage;
52  using InputImagePixelType = typename InputImageType::PixelType;
58  using OutputImageType = TInputImage;
59  using OutputImagePixelType = typename OutputImageType::PixelType;
65 
70 
72  itkNewMacro(Self);
73 
76 
78  static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
79 
82  itkGetDecoratedOutputMacro(ActualXDimensionIsOdd, bool);
83 
84 protected:
86  ~FullToHalfHermitianImageFilter() override = default;
87 
88  void
89  DynamicThreadedGenerateData(const OutputImageRegionType & outputRegionForThread) override;
90 
91 
93  void
94  GenerateOutputInformation() override;
95 
97  void
98  GenerateInputRequestedRegion() override;
99 
100  itkSetDecoratedOutputMacro(ActualXDimensionIsOdd, bool);
101 };
102 } // end namespace itk
103 
104 #ifndef ITK_MANUAL_INSTANTIATION
105 # include "itkFullToHalfHermitianImageFilter.hxx"
106 #endif
107 
108 #endif // itkFullToHalfHermitianImageFilter_h
itk::FullToHalfHermitianImageFilter::InputImageRegionType
typename InputImageType::RegionType InputImageRegionType
Definition: itkFullToHalfHermitianImageFilter.h:57
itk::GTest::TypedefsAndConstructors::Dimension2::SizeType
ImageBaseType::SizeType SizeType
Definition: itkGTestTypedefsAndConstructors.h:49
itk::SmartPointer< Self >
itk::FullToHalfHermitianImageFilter::OutputImageType
TInputImage OutputImageType
Definition: itkFullToHalfHermitianImageFilter.h:58
itk::FullToHalfHermitianImageFilter::InputImagePixelType
typename InputImageType::PixelType InputImagePixelType
Definition: itkFullToHalfHermitianImageFilter.h:52
itk::FullToHalfHermitianImageFilter::OutputImageIndexType
typename OutputImageType::IndexType OutputImageIndexType
Definition: itkFullToHalfHermitianImageFilter.h:60
itk::FullToHalfHermitianImageFilter::OutputImageIndexValueType
typename OutputImageType::IndexValueType OutputImageIndexValueType
Definition: itkFullToHalfHermitianImageFilter.h:61
itk::GTest::TypedefsAndConstructors::Dimension2::IndexType
ImageBaseType::IndexType IndexType
Definition: itkGTestTypedefsAndConstructors.h:50
itk::ImageToImageFilter
Base class for filters that take an image as input and produce an image as output.
Definition: itkImageToImageFilter.h:108
itk::FullToHalfHermitianImageFilter::OutputImageSizeValueType
typename OutputImageType::SizeValueType OutputImageSizeValueType
Definition: itkFullToHalfHermitianImageFilter.h:63
itk::FullToHalfHermitianImageFilter::OutputImageRegionType
typename OutputImageType::RegionType OutputImageRegionType
Definition: itkFullToHalfHermitianImageFilter.h:64
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:59
itk::FullToHalfHermitianImageFilter::InputImageIndexValueType
typename InputImageType::IndexValueType InputImageIndexValueType
Definition: itkFullToHalfHermitianImageFilter.h:54
itk::FullToHalfHermitianImageFilter
Reduces the size of a full complex image produced from a forward discrete Fourier transform of a real...
Definition: itkFullToHalfHermitianImageFilter.h:45
itk::GTest::TypedefsAndConstructors::Dimension2::RegionType
ImageBaseType::RegionType RegionType
Definition: itkGTestTypedefsAndConstructors.h:54
itk::FullToHalfHermitianImageFilter::InputImageSizeValueType
typename InputImageType::SizeValueType InputImageSizeValueType
Definition: itkFullToHalfHermitianImageFilter.h:56
itk::FullToHalfHermitianImageFilter::OutputImagePixelType
typename OutputImageType::PixelType OutputImagePixelType
Definition: itkFullToHalfHermitianImageFilter.h:59
itkImageToImageFilter.h
itk::FullToHalfHermitianImageFilter::OutputImageSizeType
typename OutputImageType::SizeType OutputImageSizeType
Definition: itkFullToHalfHermitianImageFilter.h:62
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkArray.h:26
itk::IndexValueType
signed long IndexValueType
Definition: itkIntTypes.h:90
itkSimpleDataObjectDecorator.h
itk::FullToHalfHermitianImageFilter::InputImageSizeType
typename InputImageType::SizeType InputImageSizeType
Definition: itkFullToHalfHermitianImageFilter.h:55
itk::FullToHalfHermitianImageFilter::InputImageIndexType
typename InputImageType::IndexType InputImageIndexType
Definition: itkFullToHalfHermitianImageFilter.h:53
itk::FullToHalfHermitianImageFilter::InputImageType
TInputImage InputImageType
Definition: itkFullToHalfHermitianImageFilter.h:51
itk::SizeValueType
unsigned long SizeValueType
Definition: itkIntTypes.h:83