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.in to make changes.
25 */
26
27#include <memory>
28
29#include "sitkBasicFilters.h"
30#include "sitkImageFilter.h"
31
32namespace itk::simple {
33
53 public:
55
58
62
64 using PixelIDTypeList = typelist2::append<BasicPixelIDTypeList, VectorPixelIDTypeList>::type;
65\
66
70 SITK_RETURN_SELF_TYPE_HEADER SetSigma ( double Sigma ) { this->m_Sigma = Sigma; return *this; }
71
75 double GetSigma() const { return this->m_Sigma; }\
76
96 SITK_RETURN_SELF_TYPE_HEADER SetNormalizeAcrossScale ( bool NormalizeAcrossScale ) { this->m_NormalizeAcrossScale = NormalizeAcrossScale; return *this; }
97
99 SITK_RETURN_SELF_TYPE_HEADER NormalizeAcrossScaleOn() { return this->SetNormalizeAcrossScale(true); }
100 SITK_RETURN_SELF_TYPE_HEADER NormalizeAcrossScaleOff() { return this->SetNormalizeAcrossScale(false); }
101
104 bool GetNormalizeAcrossScale() const { return this->m_NormalizeAcrossScale; }
105
106 typedef enum {ZeroOrder,FirstOrder,SecondOrder} OrderType;\
107
119 SITK_RETURN_SELF_TYPE_HEADER SetOrder ( OrderType Order ) { this->m_Order = Order; return *this; }
120
132 OrderType GetOrder() const { return this->m_Order; }\
133
136 SITK_RETURN_SELF_TYPE_HEADER SetDirection ( unsigned int Direction ) { this->m_Direction = Direction; return *this; }
137
140 unsigned int GetDirection() const { return this->m_Direction; }
141
143 std::string GetName() const { return std::string ("RecursiveGaussianImageFilter"); }
144
146 std::string ToString() const;
147
148
150#ifndef SWIG
151 Image Execute ( Image&& image1 );
152#endif
153 Image Execute ( const Image& image1 );
154
155 private:
156
158
159 using MemberFunctionType = Image (Self::*)( const Image& image1 );
160 template <class TImageType> Image ExecuteInternal ( const Image& image1 );
161
162
164
165 std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> > m_MemberFactory;
166
167
168 /* */
169 double m_Sigma{1.0};
170
171 /* */
173
174 /* */
176
177 /* */
178 unsigned int m_Direction{0u};
179
180
181 bool m_InPlace{false};
182 };
183
193#ifndef SWIG
194 SITKBasicFilters_EXPORT Image RecursiveGaussian ( Image&& image1, double sigma = 1.0, bool normalizeAcrossScale = false, RecursiveGaussianImageFilter::OrderType order = itk::simple::RecursiveGaussianImageFilter::ZeroOrder, unsigned int direction = 0u );
195#endif
196 SITKBasicFilters_EXPORT Image RecursiveGaussian ( const Image& image1, double sigma = 1.0, bool normalizeAcrossScale = false, RecursiveGaussianImageFilter::OrderType order = itk::simple::RecursiveGaussianImageFilter::ZeroOrder, unsigned int direction = 0u );
197
199}
200#endif
The Image class for SimpleITK.
Definition sitkImage.h:77
typelist2::append< BasicPixelIDTypeList, VectorPixelIDTypeList >::type PixelIDTypeList
Image Execute(const Image &image1)
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Image ExecuteInternal(const Image &image1)
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