27ScatterEstimation::set_background_proj_data_sptr(
const shared_ptr<ProjData> arg)
29 this->_already_setup =
false;
30 this->back_projdata_sptr = arg;
34ScatterEstimation::set_initial_activity_image_sptr(
const shared_ptr<
const DiscretisedDensity<3, float>> arg)
36 this->_already_setup =
false;
37 this->current_activity_image_sptr.reset(arg->clone());
41ScatterEstimation::set_mask_image_sptr(
const shared_ptr<
const DiscretisedDensity<3, float>> arg)
43 this->_already_setup =
false;
44 this->mask_image_sptr = arg;
45 this->set_recompute_mask_image(
false);
53 this->set_recompute_mask_projdata(
false);
57ScatterEstimation::set_scatter_simulation_method_sptr(
const shared_ptr<ScatterSimulation> arg)
59 this->_already_setup =
false;
60 this->scatter_simulation_sptr = arg;
64ScatterEstimation::set_num_iterations(
int arg)
66 this->num_scatter_iterations = arg;
70ScatterEstimation::get_half_filter_width()
const
72 return this->half_filter_width;
76ScatterEstimation::set_half_filter_width(
unsigned int arg)
78 this->half_filter_width = arg;
82ScatterEstimation::set_downsample_scanner(
bool downsample_scanner,
83 int downsampled_number_of_rings,
84 int downsampled_detectors_per_ring)
86 this->downsample_scanner_bool = downsample_scanner;
87 this->downsampled_number_of_rings = downsampled_number_of_rings;
88 this->downsampled_detectors_per_ring = downsampled_detectors_per_ring;
Definition of class stir::ScatterEstimation.
This abstract class is the basis for all image representations.
Definition DiscretisedDensity.h:99
base class for all ReconstructionsAs there is not a lot of commonality between different reconstructi...
Definition Reconstruction.h:70
shared_ptr< const DiscretisedDensity< 3, float > > atten_image_sptr
Image with attenuation values.
Definition ScatterEstimation.h:247
void set_input_proj_data_sptr(const shared_ptr< ProjData >)
Set the input projdata.
Definition ScatterEstimation.inl:6
shared_ptr< ProjData > mask_projdata_sptr
Mask proj_data.
Definition ScatterEstimation.h:251
bool _already_setup
variable to check if we have called set_up()
Definition ScatterEstimation.h:310
void set_mask_proj_data_sptr(const shared_ptr< ProjData > arg)
set mask for tail-fitting
Definition ScatterEstimation.inl:49
shared_ptr< Reconstruction< DiscretisedDensity< 3, float > > > reconstruction_template_sptr
This is the reconstruction object which is going to be used for the scatter estimation and the calcul...
Definition ScatterEstimation.h:243
void set_attenuation_image_sptr(const shared_ptr< const DiscretisedDensity< 3, float > >)
Set the full resolution attenuation image.
Definition ScatterEstimation.inl:20
shared_ptr< ProjData > input_projdata_sptr
The full 3D projdata are used for the calculation of the 2D and later for the upsampling back to 3D.
Definition ScatterEstimation.h:254
void set_reconstruction_method_sptr(const shared_ptr< Reconstruction< DiscretisedDensity< 3, float > > >)
Set the reconstruction method for the scatter estimation.
Definition ScatterEstimation.inl:13