ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkFrequencyExpandImageFilter.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 itkFrequencyExpandImageFilter_h
19#define itkFrequencyExpandImageFilter_h
20
22
23namespace itk
24{
101template <typename TImageType>
102class FrequencyExpandImageFilter : public ImageToImageFilter<TImageType, TImageType>
103{
104public:
105 ITK_DISALLOW_COPY_AND_MOVE(FrequencyExpandImageFilter);
106
112
114 itkNewMacro(Self);
115
117 itkOverrideGetNameOfClassMacro(FrequencyExpandImageFilter);
118
120 using ImageRegionType = typename TImageType::RegionType;
121
123 static constexpr unsigned int ImageDimension = TImageType::ImageDimension;
124
127 using PixelType = typename ImageType::PixelType;
128 using ImagePointer = typename ImageType::Pointer;
129
132
136 virtual void
137 SetExpandFactors(const unsigned int factor);
138
140 itkGetConstReferenceMacro(ExpandFactors, ExpandFactorsType);
141
148 void
150
156 void
158
160
161protected:
163 ~FrequencyExpandImageFilter() override = default;
164 void
165 PrintSelf(std::ostream & os, Indent indent) const override;
166
167
168 void
169 GenerateData() override;
170
171private:
173};
174} // end namespace itk
175
176#ifndef ITK_MANUAL_INSTANTIATION
177# include "itkFrequencyExpandImageFilter.hxx"
178#endif
179
180#endif
Simulate a standard C array with copy semantics.
void PrintSelf(std::ostream &os, Indent indent) const override
void GenerateInputRequestedRegion() override
static constexpr unsigned int ImageDimension
virtual void SetExpandFactors(const unsigned int factor)
typename Superclass::InputImageType ImageType
typename TImageType::RegionType ImageRegionType
void GenerateOutputInformation() override
ImageToImageFilter< TImageType, TImageType > Superclass
~FrequencyExpandImageFilter() override=default
FixedArray< unsigned int, ImageDimension > ExpandFactorsType
Control indentation during Print() invocation.
Definition itkIndent.h:53
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)