ITK  5.2.0
Insight Toolkit
itkHalfToFullHermitianImageFilter.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 itkHalfToFullHermitianImageFilter_h
19 #define itkHalfToFullHermitianImageFilter_h
20 
21 #include "itkImageToImageFilter.h"
23 
24 namespace itk
25 {
45 template <typename TInputImage>
46 class ITK_TEMPLATE_EXPORT HalfToFullHermitianImageFilter : public ImageToImageFilter<TInputImage, TInputImage>
47 {
48 public:
49  ITK_DISALLOW_COPY_AND_MOVE(HalfToFullHermitianImageFilter);
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 
82  itkSetGetDecoratedInputMacro(ActualXDimensionIsOdd, bool);
83  itkBooleanMacro(ActualXDimensionIsOdd);
85 
86 protected:
88  ~HalfToFullHermitianImageFilter() override = default;
89 
90  void
91  DynamicThreadedGenerateData(const OutputImageRegionType & outputRegionForThread) override;
92 
93 
95  void
96  GenerateOutputInformation() override;
97 
99  void
100  GenerateInputRequestedRegion() override;
101 };
102 } // end namespace itk
103 
104 #ifndef ITK_MANUAL_INSTANTIATION
105 # include "itkHalfToFullHermitianImageFilter.hxx"
106 #endif
107 
108 #endif // itkHalfToFullHermitianImageFilter_h
itk::HalfToFullHermitianImageFilter::OutputImageSizeValueType
typename OutputImageType::SizeValueType OutputImageSizeValueType
Definition: itkHalfToFullHermitianImageFilter.h:64
itk::HalfToFullHermitianImageFilter::InputImageSizeType
typename InputImageType::SizeType InputImageSizeType
Definition: itkHalfToFullHermitianImageFilter.h:56
itk::HalfToFullHermitianImageFilter::InputImagePixelType
typename InputImageType::PixelType InputImagePixelType
Definition: itkHalfToFullHermitianImageFilter.h:53
itk::HalfToFullHermitianImageFilter::InputImageSizeValueType
typename InputImageType::SizeValueType InputImageSizeValueType
Definition: itkHalfToFullHermitianImageFilter.h:57
itk::GTest::TypedefsAndConstructors::Dimension2::SizeType
ImageBaseType::SizeType SizeType
Definition: itkGTestTypedefsAndConstructors.h:49
itk::SmartPointer< Self >
itk::HalfToFullHermitianImageFilter::OutputImageIndexValueType
typename OutputImageType::IndexValueType OutputImageIndexValueType
Definition: itkHalfToFullHermitianImageFilter.h:62
itk::HalfToFullHermitianImageFilter::OutputImageSizeType
typename OutputImageType::SizeType OutputImageSizeType
Definition: itkHalfToFullHermitianImageFilter.h:63
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::HalfToFullHermitianImageFilter::InputImageIndexType
typename InputImageType::IndexType InputImageIndexType
Definition: itkHalfToFullHermitianImageFilter.h:54
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:59
itk::HalfToFullHermitianImageFilter
Expands a half image produced from a real-to-complex discrete Fourier transform (DFT) to the full com...
Definition: itkHalfToFullHermitianImageFilter.h:46
itk::GTest::TypedefsAndConstructors::Dimension2::RegionType
ImageBaseType::RegionType RegionType
Definition: itkGTestTypedefsAndConstructors.h:54
itk::HalfToFullHermitianImageFilter::OutputImageRegionType
typename OutputImageType::RegionType OutputImageRegionType
Definition: itkHalfToFullHermitianImageFilter.h:65
itk::HalfToFullHermitianImageFilter::OutputImagePixelType
typename OutputImageType::PixelType OutputImagePixelType
Definition: itkHalfToFullHermitianImageFilter.h:60
itkImageToImageFilter.h
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
itk::HalfToFullHermitianImageFilter::InputImageRegionType
typename InputImageType::RegionType InputImageRegionType
Definition: itkHalfToFullHermitianImageFilter.h:58
itk::HalfToFullHermitianImageFilter::InputImageIndexValueType
typename InputImageType::IndexValueType InputImageIndexValueType
Definition: itkHalfToFullHermitianImageFilter.h:55
itkSimpleDataObjectDecorator.h
itk::HalfToFullHermitianImageFilter::InputImageType
TInputImage InputImageType
Definition: itkHalfToFullHermitianImageFilter.h:52
itk::HalfToFullHermitianImageFilter::OutputImageIndexType
typename OutputImageType::IndexType OutputImageIndexType
Definition: itkHalfToFullHermitianImageFilter.h:61
itk::HalfToFullHermitianImageFilter::OutputImageType
TInputImage OutputImageType
Definition: itkHalfToFullHermitianImageFilter.h:59
itk::SizeValueType
unsigned long SizeValueType
Definition: itkIntTypes.h:83