STIR  6.2.0
SeparableGaussianArrayFilter.h
Go to the documentation of this file.
1 //
2 // $Id:
3 //
17 /*
18  Copyright (C) 2000- 2002, IRSL
19  See STIR/LICENSE.txt for details
20 */
21 
22 #ifndef __stir_SeparableGaussianArrayFilter_H__
23 #define __stir_SeparableGaussianArrayFilter_H__
24 
27 #include "stir/Array.h"
28 
29 #include <vector>
30 
31 START_NAMESPACE_STIR
32 
33 template <int num_dimensions, typename elemT>
34 class SeparableGaussianArrayFilter : public SeparableArrayFunctionObject<num_dimensions, elemT>
35 {
36 public:
38  SeparableGaussianArrayFilter();
39 
40  SeparableGaussianArrayFilter(const float standard_deviation, const int number_of_coefficients);
41 
42 private:
43  void calculate_coefficients(VectorWithOffset<elemT>& filter_coefficients,
44  const int number_of_coefficients,
45  const float standard_deviation);
46  float standard_deviation;
47  int number_of_coefficients;
48 };
49 
50 END_NAMESPACE_STIR
51 
52 #endif
Declaration of class stir::SeparableArrayFunctionObject.
defines the stir::DiscretisedDensity class
defines the Array class for multi-dimensional (numeric) arrays