STIR  6.2.0
RampFilter.h
Go to the documentation of this file.
1 //
2 //
12 /*
13  Copyright (C) 2000 PARAPET partners
14  Copyright (C) 2000- 2011, Hammersmith Imanet Ltd
15 
16  This file is part of STIR.
17 
18  SPDX-License-Identifier: Apache-2.0 AND License-ref-PARAPET-license
19 
20  See STIR/LICENSE.txt for details
21 */
22 #ifndef __stir_FBP2D_RampFilter_H__
23 #define __stir_FBP2D_RampFilter_H__
24 
25 #ifdef NRFFT
27 #else
29 # include "stir/TimedObject.h"
30 #endif
31 #include <string>
32 
33 START_NAMESPACE_STIR
50 class RampFilter :
51 #ifdef NRFFT
52  public Filter1D<float>
53 #else
54  public ArrayFilterUsingRealDFTWithPadding<1, float>,
55  public TimedObject
56 #endif
57 {
58 
59 private:
60  float fc;
61  float alpha;
62  float sampledist;
63 
64 public:
65  RampFilter(float sampledist_v, int length_v, float alpha_v = 1, float fc_v = .5);
66 
67  virtual std::string parameter_info() const;
68 };
69 
70 END_NAMESPACE_STIR
71 
72 #endif
The ramp filter used for (2D) FBP.
Definition: RampFilter.h:50
Filter classes (filter defined in Fourier space)
base class for all objects which need timers. At the moment, there&#39;s only a CPU timer.
Definition: TimedObject.h:35
Declaration of class stir::ArrayFilterUsingRealDFTWithPadding.
declares the stir::TimedObject class
Preliminary class for 1D filtering using FFTs.
Definition: Filter.h:38
This class implements convolution of an array of real numbers with an arbitrary (i.e. potentially non-symmetric) kernel using DFTs.
Definition: ArrayFilterUsingRealDFTWithPadding.h:47