STIR
6.2.0
|
Preliminary class for 1D filtering using FFTs. More...
#include "stir_experimental/Filter.h"
Public Member Functions | |
Filter1D (const int length_v) | |
Filter1D (const Array< 1, T > &filter) | |
void | apply (Array< 1, T > &data) |
Filters data (which has to be in the 'spatial' domain. More... | |
void | apply (Array< 2, T > &data) |
Applies the filter on each 1D subarray. | |
void | apply (Array< 3, T > &data) |
Applies the filter on each 1D subarray. | |
virtual std::string | parameter_info () const =0 |
Public Member Functions inherited from stir::TimedObject | |
void | reset_timers () |
reset all timers kept by this object | |
void | stop_timers () const |
stop all timers kept by this object More... | |
void | start_timers (bool do_reset=false) const |
start all timers kept by this object More... | |
double | get_CPU_timer_value () const |
get current value of the CPU timer (since first use or last reset) | |
double | get_wall_clock_timer_value () const |
get current value of the wall-clock timer (since first use or last reset) | |
Public Attributes | |
Array< 1, float > | filter |
Stores the filter in frequency space (will be private sometime) | |
Preliminary class for 1D filtering using FFTs.
|
inline |
Filters data (which has to be in the 'spatial' domain.
data will be padded with zeroes to the same length as the stored filter before filtering. This is done on a local copy of the data, such that the index range of data is not modified.