STIR 6.4.0
PostFiltering.h
Go to the documentation of this file.
1//
2//
3/*
4 Copyright (C) 2016, UCL
5
6 This file is part of STIR.
7 SPDX-License-Identifier: Apache-2.0
8 See STIR/LICENSE.txt for details
9*/
10#ifndef __stir_PostFiltering_H__
11#define __stir_PostFiltering_H__
12
22
23#include "stir/ParsingObject.h"
24#include "stir/DataProcessor.h"
26#include "stir/is_null_ptr.h"
27#include "stir/Succeeded.h"
28
29START_NAMESPACE_STIR
30
31template <class DataT>
32class PostFiltering : public ParsingObject
33{
34public:
36 PostFiltering();
37
38 ~PostFiltering() override {}
39
40 void set_filter_sptr(shared_ptr<DataProcessor<DataT>> filter_sptr);
41 Succeeded process_data(DataT& arg);
42
44 bool is_filter_null();
45
46protected:
47 void set_defaults() override;
48 void initialise_keymap() override;
49 bool post_processing() override;
50
51private:
52 shared_ptr<DataProcessor<DataT>> filter_sptr;
53};
54
55END_NAMESPACE_STIR
56#include "stir/PostFiltering.inl"
57#endif
Declaration of class stir::DataProcessor.
defines the stir::DiscretisedDensity class
Declaration of class stir::ParsingObject.
Declaration of class stir::Succeeded.
Definition of stir::is_null_ptr functions.