ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkLogGaborFreqImageSource.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 itkLogGaborFreqImageSource_h
19#define itkLogGaborFreqImageSource_h
20
22
23namespace itk
24{
25
30template <typename TOutputImage>
31class LogGaborFreqImageSource : public GenerateImageSource<TOutputImage>
32{
33public:
34 ITK_DISALLOW_COPY_AND_MOVE(LogGaborFreqImageSource);
35
41
43 static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension;
44
45 using OutputImageType = TOutputImage;
46 using OutputImageRegionType = typename TOutputImage::RegionType;
47 using SizeType = typename TOutputImage::SizeType;
48 using SpacingType = typename TOutputImage::SpacingType;
49 using PointType = typename TOutputImage::PointType;
50 using DirectionType = typename TOutputImage::DirectionType;
51
53
55 itkOverrideGetNameOfClassMacro(LogGaborFreqImageSource);
56
58 itkNewMacro(Self);
59
61 itkSetMacro(Sigma, double);
62 itkGetConstMacro(Sigma, double);
63
65 itkSetMacro(Wavelengths, ArrayType);
66 itkGetConstReferenceMacro(Wavelengths, ArrayType);
67
68protected:
71 void
72 PrintSelf(std::ostream & os, Indent indent) const override;
73 void
74 DynamicThreadedGenerateData(const OutputImageRegionType & outputRegionForThread) override;
75
76private:
77 // Ratio of k/wo in each direction
78 double m_Sigma{ 1.0 };
79
80 // The wavelengths in each direction
82};
83
84} // end namespace itk
85
86#ifndef ITK_MANUAL_INSTANTIATION
87# include "itkLogGaborFreqImageSource.hxx"
88#endif
89
90#endif
Simulate a standard C array with copy semantics.
Control indentation during Print() invocation.
Definition itkIndent.h:53
typename TOutputImage::PointType PointType
typename TOutputImage::RegionType OutputImageRegionType
GenerateImageSource< TOutputImage > Superclass
typename TOutputImage::SizeType SizeType
FixedArray< double, ImageDimension > ArrayType
typename TOutputImage::DirectionType DirectionType
void PrintSelf(std::ostream &os, Indent indent) const override
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
SmartPointer< const Self > ConstPointer
typename TOutputImage::SpacingType SpacingType
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
#define itkSetMacro(name, type)