STIR  6.2.0
ArrayFilter1DUsingConvolutionSymmetricKernel.h
Go to the documentation of this file.
1 //
2 //
13 /*
14  Copyright (C) 2000- 2009, Hammersmith Imanet Ltd
15  This file is part of STIR.
16 
17  SPDX-License-Identifier: Apache-2.0
18 
19  See STIR/LICENSE.txt for details
20 */
21 
22 #ifndef __stir_ArrayFilter1DUsingConvolutionSymmetricKernel_H__
23 #define __stir_ArrayFilter1DUsingConvolutionSymmetricKernel_H__
24 
26 
27 START_NAMESPACE_STIR
28 
29 template <typename elemT>
30 class VectorWithOffset;
31 
46 template <typename elemT>
48 {
49 public:
51 
60 
63  bool is_trivial() const override;
64 
65 private:
66  VectorWithOffset<elemT> filter_coefficients;
67  void do_it(Array<1, elemT>& out_array, const Array<1, elemT>& in_array) const override;
68 };
69 
70 END_NAMESPACE_STIR
71 
72 #endif // ArrayFilter1DUsingConvolutionSymmetricKernel
A convenience class for children of ArrayFunctionObject. It implements the in-place operator() in ter...
Definition: ArrayFunctionObject_2ArgumentImplementation.h:41
Declaration of class stir::ArrayFunctionObject_2ArgumentImplementation.
This class implements convolution of a 1D array with a symmetric kernel.
Definition: ArrayFilter1DUsingConvolutionSymmetricKernel.h:47
The 1-dimensional (partial) specialisation of Array.
Definition: Array.h:339