ITK  5.2.0
Insight Toolkit
itkFullToHalfHermitianImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright NumFOCUS
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 {
45 template <typename TInputImage>
46 class ITK_TEMPLATE_EXPORT FullToHalfHermitianImageFilter : public ImageToImageFilter<TInputImage, TInputImage>
47 {
48 public:
49  ITK_DISALLOW_COPY_AND_ASSIGN(FullToHalfHermitianImageFilter);
50 
52  using InputImageType = TInputImage;
53  using InputImagePixelType = typename InputImageType::PixelType;
59  using OutputImageType = TInputImage;
60  using OutputImagePixelType = typename OutputImageType::PixelType;
66 
71 
73  itkNewMacro(Self);
74 
77 
79  static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
80 
83  itkGetDecoratedOutputMacro(ActualXDimensionIsOdd, bool);
84 
85 protected:
87  ~FullToHalfHermitianImageFilter() override = default;
88 
89  void
90  DynamicThreadedGenerateData(const OutputImageRegionType & outputRegionForThread) override;
91 
92 
94  void
95  GenerateOutputInformation() override;
96 
98  void
99  GenerateInputRequestedRegion() override;
100 
101  itkSetDecoratedOutputMacro(ActualXDimensionIsOdd, bool);
102 };
103 } // end namespace itk
104 
105 #ifndef ITK_MANUAL_INSTANTIATION
106 # include "itkFullToHalfHermitianImageFilter.hxx"
107 #endif
108 
109 #endif // itkFullToHalfHermitianImageFilter_h
itk::FullToHalfHermitianImageFilter::InputImageRegionType
typename InputImageType::RegionType InputImageRegionType
Definition: itkFullToHalfHermitianImageFilter.h:58
itk::GTest::TypedefsAndConstructors::Dimension2::SizeType
ImageBaseType::SizeType SizeType
Definition: itkGTestTypedefsAndConstructors.h:49
itk::SmartPointer< Self >
itk::FullToHalfHermitianImageFilter::OutputImageType
TInputImage OutputImageType
Definition: itkFullToHalfHermitianImageFilter.h:59
itk::FullToHalfHermitianImageFilter::InputImagePixelType
typename InputImageType::PixelType InputImagePixelType
Definition: itkFullToHalfHermitianImageFilter.h:53
itk::FullToHalfHermitianImageFilter::OutputImageIndexType
typename OutputImageType::IndexType OutputImageIndexType
Definition: itkFullToHalfHermitianImageFilter.h:61
itk::FullToHalfHermitianImageFilter::OutputImageIndexValueType
typename OutputImageType::IndexValueType OutputImageIndexValueType
Definition: itkFullToHalfHermitianImageFilter.h:62
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:64
itk::FullToHalfHermitianImageFilter::OutputImageRegionType
typename OutputImageType::RegionType OutputImageRegionType
Definition: itkFullToHalfHermitianImageFilter.h:65
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:59
itk::FullToHalfHermitianImageFilter::InputImageIndexValueType
typename InputImageType::IndexValueType InputImageIndexValueType
Definition: itkFullToHalfHermitianImageFilter.h:55
itk::FullToHalfHermitianImageFilter
Reduces the size of a full complex image produced from a forward discrete Fourier transform of a real...
Definition: itkFullToHalfHermitianImageFilter.h:46
itk::GTest::TypedefsAndConstructors::Dimension2::RegionType
ImageBaseType::RegionType RegionType
Definition: itkGTestTypedefsAndConstructors.h:54
itk::FullToHalfHermitianImageFilter::InputImageSizeValueType
typename InputImageType::SizeValueType InputImageSizeValueType
Definition: itkFullToHalfHermitianImageFilter.h:57
itk::FullToHalfHermitianImageFilter::OutputImagePixelType
typename OutputImageType::PixelType OutputImagePixelType
Definition: itkFullToHalfHermitianImageFilter.h:60
itkImageToImageFilter.h
itk::FullToHalfHermitianImageFilter::OutputImageSizeType
typename OutputImageType::SizeType OutputImageSizeType
Definition: itkFullToHalfHermitianImageFilter.h:63
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::IndexValueType
signed long IndexValueType
Definition: itkIntTypes.h:90
itkSimpleDataObjectDecorator.h
itk::FullToHalfHermitianImageFilter::InputImageSizeType
typename InputImageType::SizeType InputImageSizeType
Definition: itkFullToHalfHermitianImageFilter.h:56
itk::FullToHalfHermitianImageFilter::InputImageIndexType
typename InputImageType::IndexType InputImageIndexType
Definition: itkFullToHalfHermitianImageFilter.h:54
itk::FullToHalfHermitianImageFilter::InputImageType
TInputImage InputImageType
Definition: itkFullToHalfHermitianImageFilter.h:52
itk::SizeValueType
unsigned long SizeValueType
Definition: itkIntTypes.h:83