13 #ifndef __stir_recon_buildblock_Reconstruction_H__ 14 #define __stir_recon_buildblock_Reconstruction_H__ 68 template <
typename TargetT>
79 virtual std::string method_info()
const = 0;
100 virtual Succeeded reconstruct(shared_ptr<TargetT>
const& target_image_sptr) = 0;
111 virtual Succeeded set_up(shared_ptr<TargetT>
const& target_data_sptr);
121 void set_output_filename_prefix(
const std::string&);
130 virtual void set_input_data(
const shared_ptr<ExamData>&) = 0;
133 virtual const ExamData& get_input_data()
const = 0;
143 void set_disable_output(
bool _val);
150 shared_ptr<TargetT> get_target_image();
169 virtual void check(TargetT
const& target_data)
const;
170 bool _already_set_up;
185 void initialise(
const std::string& parameter_filename);
187 void set_defaults()
override;
188 void initialise_keymap()
override;
202 bool post_processing()
override;
std::string output_filename_prefix
file name for output reconstructed images
Definition: Reconstruction.h:155
bool _disable_output
_disable_output
Definition: Reconstruction.h:215
Declaration of class stir::DataProcessor.
declaration of stir::ExamData
Declaration of class stir::ParsingObject.
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast (or corresponding b...
base class for all objects which need timers. At the moment, there's only a CPU timer.
Definition: TimedObject.h:35
shared_ptr< TargetT > target_data_sptr
target_data_sptr
Definition: Reconstruction.h:207
Declaration of class stiir::RegisteredObject.
declares the stir::TimedObject class
Helper class to provide registry mechanisms to a Base classSuppose you have a hierarchy of classes wi...
Definition: RegisteredObject.h:95
shared_ptr< DataProcessor< TargetT > > post_filter_sptr
post-filter
Definition: Reconstruction.h:161
base class for all ReconstructionsAs there is not a lot of commonality between different reconstructi...
Definition: Reconstruction.h:69
~Reconstruction() override
virtual destructor
Definition: Reconstruction.h:76
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition: Succeeded.h:43
int _verbosity
Verbosity level.
Definition: Reconstruction.h:218
base class for data objects such as ProjData etcProvides an ExamInfo member.
Definition: ExamData.h:33
shared_ptr< OutputFileFormat< TargetT > > output_file_format_ptr
defines the format of the output files
Definition: Reconstruction.h:158