STIR 6.4.0
CreateTailMaskFromACFs.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2005 - 2011-12-31, Hammersmith Imanet Ltd
3 Copyright (C) 2011-07-01 - 2012, Kris Thielemans
4 This file is part of STIR.
5
6 SPDX-License-Identifier: Apache-2.0
7
8 See STIR/LICENSE.txt for details
9*/
10
36
37#ifndef __stir_scatter_CreateTailMaskFromACFs_H__
38#define __stir_scatter_CreateTailMaskFromACFs_H__
39
40#include "stir/ProjDataInfo.h"
41#include "stir/Sinogram.h"
43#include "stir/Succeeded.h"
44#include "stir/is_null_ptr.h"
45
46#include "stir/ParsingObject.h"
48
49START_NAMESPACE_STIR
50
57class CreateTailMaskFromACFs : public ParsingObject
58{
59public:
60 CreateTailMaskFromACFs();
61
62 virtual Succeeded process_data();
63
64 void set_input_projdata_sptr(shared_ptr<ProjData>&);
65
66 void set_input_projdata(std::string&);
67
68 void set_output_projdata_sptr(shared_ptr<ProjData>&);
69
70 void set_output_projdata(std::string&);
71
77 shared_ptr<ProjData> get_output_projdata_sptr();
78
83
88
89protected:
90 void initialise_keymap() override;
91 bool post_processing() override;
92 void set_defaults() override;
93
94private:
98 shared_ptr<ProjData> ACF_sptr;
99
103 shared_ptr<ProjData> mask_proj_data;
104
109 std::string _input_filename;
110
115 std::string _output_filename;
116};
117
118END_NAMESPACE_STIR
119
120#endif
Declaration of class stir::ParsingObject.
Declaration of class stir::ProjDataInMemory.
Declaration of class stir::ProjDataInfo.
Declaration of class stir::ProjDataInterfile.
Declaration of class stir::Sinogram.
Declaration of class stir::Succeeded.
void set_defaults() override
Set defaults before parsing.
Definition CreateTailMaskFromACFs.cxx:51
void initialise_keymap() override
Initialise all keywords.
Definition CreateTailMaskFromACFs.cxx:63
int safety_margin
safety_margin
Definition CreateTailMaskFromACFs.h:87
bool post_processing() override
This will be called at the end of the parsing.
Definition CreateTailMaskFromACFs.cxx:74
float ACF_threshold
ACF_threshold.
Definition CreateTailMaskFromACFs.h:82
shared_ptr< ProjData > get_output_projdata_sptr()
get_output_projdata
Definition CreateTailMaskFromACFs.cxx:45
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition Succeeded.h:44
Definition of stir::is_null_ptr functions.