GaussianBlurring2D.h
1 /*
2  * Medical Image Registration ToolKit (MIRTK)
3  *
4  * Copyright 2008-2015 Imperial College London
5  * Copyright 2008-2013 Daniel Rueckert, Julia Schnabel
6  * Copyright 2013-2015 Andreas Schuh
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20 
21 #ifndef MIRTK_GaussianBlurring2D_H
22 #define MIRTK_GaussianBlurring2D_H
23 
24 #include "mirtk/GaussianBlurring.h"
25 
26 
27 namespace mirtk {
28 
29 
30 /**
31  * Class for Gaussian blurring of images
32  *
33  * This class defines and implements the Gaussian blurring of images. It takes
34  * 2D and 3D images but blurs only in the x and y direction. The
35  * blurring is implemented by two successive 1D convolutions with a 1D
36  * Gaussian kernel.
37  */
38 template <class TVoxel>
39 class GaussianBlurring2D : public GaussianBlurring<TVoxel>
40 {
41  mirtkInPlaceImageFilterMacro(GaussianBlurring2D, TVoxel);
42 
43 public:
44 
45  /// Constructor
46  GaussianBlurring2D(double = 1.0);
47 
48  /// Constructor
49  GaussianBlurring2D(double, double);
50 
51  /// Destructor
53 
54 };
55 
56 
57 } // namespace mirtk
58 
59 #endif // MIRTK_GaussianBlurring2D_H
GaussianBlurring2D(double=1.0)
Constructor.
Definition: IOConfig.h:41
~GaussianBlurring2D()
Destructor.