ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkFrequencyShrinkViaInverseFFTImageFilter.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 * https://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 itkFrequencyShrinkViaInverseFFTImageFilter_h
19#define itkFrequencyShrinkViaInverseFFTImageFilter_h
20
26
27namespace itk
28{
41template <typename TImageType>
42class FrequencyShrinkViaInverseFFTImageFilter : public ImageToImageFilter<TImageType, TImageType>
43{
44public:
45 ITK_DISALLOW_COPY_AND_MOVE(FrequencyShrinkViaInverseFFTImageFilter);
46
52
54 itkNewMacro(Self);
55
57 itkOverrideGetNameOfClassMacro(FrequencyShrinkViaInverseFFTImageFilter);
58
60 using ImageType = TImageType;
61 using ImagePointer = typename ImageType::Pointer;
62 using ImageConstPointer = typename ImageType::ConstPointer;
63 using IndexType = typename TImageType::IndexType;
64 using PixelType = typename TImageType::PixelType;
65
67 using ImageRegionType = typename TImageType::RegionType;
74
76 static constexpr unsigned int ImageDimension = TImageType::ImageDimension;
77 static constexpr unsigned int OutputImageDimension = TImageType::ImageDimension;
78
80
84 void
85 SetShrinkFactors(unsigned int factor);
86
87 void
88 SetShrinkFactor(unsigned int i, unsigned int factor);
89
91 itkGetConstReferenceMacro(ShrinkFactors, ShrinkFactorsType);
92
93 void
95
101 void
103
105
106protected:
108 void
109 PrintSelf(std::ostream & os, Indent indent) const override;
110
111 void
112 GenerateData() override;
113
114private:
120};
121} // end namespace itk
122
123#ifndef ITK_MANUAL_INSTANTIATION
124# include "itkFrequencyShrinkViaInverseFFTImageFilter.hxx"
125#endif
126
127#endif
Change the origin, spacing and/or region of an Image.
Simulate a standard C array with copy semantics.
Base class for forward Fast Fourier Transform.
void PrintSelf(std::ostream &os, Indent indent) const override
itk::ShrinkDecimateImageFilter< typename InverseFFTFilterType::OutputImageType, typename InverseFFTFilterType::OutputImageType > ShrinkFilterType
itk::ForwardFFTImageFilter< typename InverseFFTFilterType::OutputImageType, ImageType > ForwardFFTFilterType
itk::ChangeInformationImageFilter< ImageType > ChangeInformationFilterType
void SetShrinkFactor(unsigned int i, unsigned int factor)
void SetShrinkFactors(unsigned int factor)
Control indentation during Print() invocation.
Definition itkIndent.h:53
Base class for inverse Fast Fourier Transform.
Image< typename ImageType::PixelType::value_type, ImageType::ImageDimension > OutputImageType
Reduce the size of an image by an integer factor in each dimension just cutting off samples without a...
Implements transparent reference counting.
#define itkConceptMacro(name, conceptType)
Compile-time check that a template argument satisfies an itk::Concept.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
#define itkSetMacro(name, type)