SimpleITK  
sitkRecursiveGaussianImageFilter.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 sitkRecursiveGaussianImageFilter_h
19#define sitkRecursiveGaussianImageFilter_h
20
21/*
22 * WARNING: DO NOT EDIT THIS FILE!
23 * THIS FILE IS AUTOMATICALLY GENERATED BY THE SIMPLEITK BUILD PROCESS.
24 * Please look at sitkImageFilterTemplate.h.jinja to make changes.
25 */
26
27#include <memory>
28
29#include "sitkBasicFilters.h"
30#include "sitkImageFilter.h"
32
33namespace itk::simple {
34
61public:
63
66
70
72 using PixelIDTypeList = typelist2::append<BasicPixelIDTypeList, VectorPixelIDTypeList>::type;
73
74
75
76
81 void
82 SetSigma(double Sigma )
83 { this->m_Sigma = Sigma; }
84
88 double
89 GetSigma() const { return this->m_Sigma; }
90
91
117 void
118 SetNormalizeAcrossScale(bool NormalizeAcrossScale )
119 { this->m_NormalizeAcrossScale = NormalizeAcrossScale; }
120
122 void
124 void
128 bool
130
131 typedef enum { ZeroOrder, FirstOrder, SecondOrder } OrderType;
132
144 void
146 { this->m_Order = Order; }
147
158 OrderType
159 GetOrder() const { return this->m_Order; }
160
161
164 void
165 SetDirection(unsigned int Direction )
166 { this->m_Direction = Direction; }
167
169 unsigned int
170 GetDirection() const { return this->m_Direction; }
171
172
174 std::string GetName() const { return std::string("RecursiveGaussianImageFilter"); }
175
177 std::string ToString() const;
178
179
181#ifndef SWIG
182 Image Execute(Image&& image1);
183#endif
184 Image Execute(const Image &image1);
185
186
187private:
189 using MemberFunctionType = Image (Self::*)(const Image &image1);
190 template <class TImageType> Image ExecuteInternal(const Image &image1);
193
194
195 double m_Sigma{ 1.0 };
196
198
200
201 unsigned int m_Direction{ 0u };
202
203
204
205
206
207
208
209 bool m_InPlace{false};
210
211};
212
213
222#ifndef SWIG
224 Image&& image1, double sigma = 1.0, bool normalizeAcrossScale = false, RecursiveGaussianImageFilter::OrderType order = itk::simple::RecursiveGaussianImageFilter::ZeroOrder, unsigned int direction = 0u
225);
226
227
228#endif
230 const Image &image1, double sigma = 1.0, bool normalizeAcrossScale = false, RecursiveGaussianImageFilter::OrderType order = itk::simple::RecursiveGaussianImageFilter::ZeroOrder, unsigned int direction = 0u
231);
232
234
235}
236#endif
The Image class for SimpleITK.
Definition sitkImage.h:77
typelist2::append< BasicPixelIDTypeList, VectorPixelIDTypeList >::type PixelIDTypeList
Image Execute(const Image &image1)
static const detail::MemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
Image ExecuteInternal(const Image &image1)
A class used to instantiate and generate function object to templated member functions.
Image RecursiveGaussian(Image &&image1, double sigma=1.0, bool normalizeAcrossScale=false, RecursiveGaussianImageFilter::OrderType order=itk::simple::RecursiveGaussianImageFilter::ZeroOrder, unsigned int direction=0u)
Base class for computing IIR convolution with an approximation of a Gaussian kernel.
#define SITKBasicFilters_EXPORT