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 
32 namespace 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 
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  /* */
172  bool m_NormalizeAcrossScale{false};
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
itk::simple::Image
The Image class for SimpleITK.
Definition: sitkImage.h:76
sitkBasicFilters.h
itk::simple::RecursiveGaussianImageFilter::SetOrder
Self & SetOrder(OrderType Order)
Definition: sitkRecursiveGaussianImageFilter.h:119
itk::simple::detail::MemberFunctionAddressor
Definition: sitkDetail.h:29
itk::simple::RecursiveGaussianImageFilter::NormalizeAcrossScaleOn
Self & NormalizeAcrossScaleOn()
Definition: sitkRecursiveGaussianImageFilter.h:99
itk::simple::RecursiveGaussianImageFilter::SetSigma
Self & SetSigma(double Sigma)
Definition: sitkRecursiveGaussianImageFilter.h:70
itk::simple::RecursiveGaussianImageFilter::m_MemberFactory
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Definition: sitkRecursiveGaussianImageFilter.h:165
itk::simple::RecursiveGaussianImageFilter::GetDirection
unsigned int GetDirection() const
Definition: sitkRecursiveGaussianImageFilter.h:140
itk::simple::RecursiveGaussianImageFilter::MemberFunctionType
Image(Self::*)(const Image &image1) MemberFunctionType
Definition: sitkRecursiveGaussianImageFilter.h:159
itk::simple::RecursiveGaussianImageFilter::ZeroOrder
@ ZeroOrder
Definition: sitkRecursiveGaussianImageFilter.h:106
itk::simple::RecursiveGaussianImageFilter::PixelIDTypeList
typelist2::append< BasicPixelIDTypeList, VectorPixelIDTypeList >::type PixelIDTypeList
Definition: sitkRecursiveGaussianImageFilter.h:64
itk::simple::RecursiveGaussianImageFilter::NormalizeAcrossScaleOff
Self & NormalizeAcrossScaleOff()
Definition: sitkRecursiveGaussianImageFilter.h:100
itk::simple::RecursiveGaussianImageFilter::OrderType
OrderType
Definition: sitkRecursiveGaussianImageFilter.h:106
sitkImageFilter.h
itk::simple::RecursiveGaussianImageFilter::GetName
std::string GetName() const
Definition: sitkRecursiveGaussianImageFilter.h:143
itk::simple::RecursiveGaussianImageFilter::GetNormalizeAcrossScale
bool GetNormalizeAcrossScale() const
Definition: sitkRecursiveGaussianImageFilter.h:104
itk::simple::RecursiveGaussianImageFilter::SetDirection
Self & SetDirection(unsigned int Direction)
Definition: sitkRecursiveGaussianImageFilter.h:136
itk::simple::RecursiveGaussianImageFilter::SetNormalizeAcrossScale
Self & SetNormalizeAcrossScale(bool NormalizeAcrossScale)
Definition: sitkRecursiveGaussianImageFilter.h:96
SITKBasicFilters_EXPORT
#define SITKBasicFilters_EXPORT
Definition: sitkBasicFilters.h:52
itk::simple::RecursiveGaussianImageFilter::GetSigma
double GetSigma() const
Definition: sitkRecursiveGaussianImageFilter.h:75
itk::simple::RecursiveGaussianImageFilter::GetOrder
OrderType GetOrder() const
Definition: sitkRecursiveGaussianImageFilter.h:132
itk::simple::RecursiveGaussianImageFilter
Base class for computing IIR convolution with an approximation of a Gaussian kernel.
Definition: sitkRecursiveGaussianImageFilter.h:52
itk::simple::ImageFilter
The base interface for SimpleITK filters that take one input image.
Definition: sitkImageFilter.h:35
itk::simple::RecursiveGaussian
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.
itk::Image
Definition: sitkPixelIDTypes.h:28
itk::simple
Definition: sitkAdditionalProcedures.h:28