ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkSpectra1DSupportWindowImageFilter.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 itkSpectra1DSupportWindowImageFilter_h
19#define itkSpectra1DSupportWindowImageFilter_h
20
21#include <list>
22
24
25namespace itk
26{
27
52template <typename TInputImage>
53class ITK_TEMPLATE_EXPORT Spectra1DSupportWindowImageFilter
54 : public ImageToImageFilter<TInputImage,
55 Image<std::list<typename TInputImage::IndexType>, TInputImage::ImageDimension>>
56{
57public:
58 ITK_DISALLOW_COPY_AND_MOVE(Spectra1DSupportWindowImageFilter);
59
60 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
61
62 using InputImageType = TInputImage;
63 using IndexType = typename InputImageType::IndexType;
64
65 using OutputPixelType = std::list<IndexType>;
67
68 using FFT1DSizeType = unsigned int;
69
75
76 itkOverrideGetNameOfClassMacro(Spectra1DSupportWindowImageFilter);
77 itkNewMacro(Self);
78
81 itkGetConstMacro(FFT1DSize, FFT1DSizeType);
83
85 itkGetConstMacro(Step, SizeValueType);
87
88protected:
91
93
94 void
96
97 void
98 DynamicThreadedGenerateData(const OutputImageRegionType & outputRegionForThread) override;
99 void
101
102 void
103 PrintSelf(std::ostream & os, Indent indent) const override;
104
105private:
108};
109
110} // end namespace itk
111
112#ifndef ITK_MANUAL_INSTANTIATION
113# include "itkSpectra1DSupportWindowImageFilter.hxx"
114#endif
115
116#endif // itkSpectra1DSupportWindowImageFilter_h
Templated n-dimensional image class.
Definition itkImage.h:89
ImageRegion< VImageDimension > RegionType
Control indentation during Print() invocation.
Definition itkIndent.h:53
Implements transparent reference counting.
~Spectra1DSupportWindowImageFilter() override=default
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
ImageToImageFilter< InputImageType, OutputImageType > Superclass
void PrintSelf(std::ostream &os, Indent indent) const override
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType
Definition itkIntTypes.h:82
#define itkSetMacro(name, type)