STIR  6.2.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 
37 #ifndef __stir_scatter_CreateTailMaskFromACFs_H__
38 #define __stir_scatter_CreateTailMaskFromACFs_H__
39 
40 #include "stir/ProjDataInfo.h"
41 #include "stir/Sinogram.h"
42 #include "stir/ProjDataInterfile.h"
43 #include "stir/Succeeded.h"
44 #include "stir/is_null_ptr.h"
45 
46 #include "stir/ParsingObject.h"
47 #include "stir/ProjDataInMemory.h"
48 
49 START_NAMESPACE_STIR
50 
58 {
59 public:
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 
89 protected:
90  void initialise_keymap() override;
91  bool post_processing() override;
92  void set_defaults() override;
93 
94 private:
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 
118 END_NAMESPACE_STIR
119 
120 #endif
Declaration of class stir::Succeeded.
The CreateTailMaskFromACFs class.
Definition: CreateTailMaskFromACFs.h:57
Declaration of class stir::ProjDataInfo.
Declaration of class stir::Sinogram.
Declaration of class stir::ProjDataInMemory.
A base class for objects that want to be able to parse parameter files.
Definition: ParsingObject.h:44
Declaration of class stir::ParsingObject.
Definition of stir::is_null_ptr functions.
Declaration of class stir::ProjDataInterfile.
float ACF_threshold
ACF_threshold.
Definition: CreateTailMaskFromACFs.h:82
int safety_margin
safety_margin
Definition: CreateTailMaskFromACFs.h:87
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition: Succeeded.h:43