20 #ifndef __stir_recon_buildblock_ProjMatrixByBinFromFile__ 21 #define __stir_recon_buildblock_ProjMatrixByBinFromFile__ 33 template <
int num_dimensions,
typename elemT>
34 class DiscretisedDensity;
84 const shared_ptr<const ProjDataInfo>& proj_data_info_sptr,
91 void set_up(
const shared_ptr<const ProjDataInfo>& proj_data_info_ptr,
98 std::string parsed_version;
99 std::string template_density_filename;
100 std::string template_proj_data_filename;
101 std::string data_filename;
103 std::string symmetries_type;
105 bool do_symmetry_90degrees_min_phi;
106 bool do_symmetry_180degrees_min_phi;
107 bool do_symmetry_swap_segment;
108 bool do_symmetry_swap_s;
109 bool do_symmetry_shift_z;
117 shared_ptr<const ProjDataInfo> proj_data_info_ptr;
121 void set_defaults()
override;
122 void initialise_keymap()
override;
123 bool post_processing()
override;
Declaration of class stir::ProjDataInfo.
Reads/writes a projection matrix from/to file.
Definition: ProjMatrixByBinFromFile.h:71
This is the (abstract) base class for all projection matrices which are organised by 'bin'...
Definition: ProjMatrixByBin.h:78
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast (or corresponding b...
declaration of stir::ProjMatrixByBin and its helpers classes
std::string write_to_file(const std::string &filename, const DataT &data)
Function that writes data to file using the default OutputFileFormat.
Definition: write_to_file.h:47
Succeeded read_data(IStreamT &s, Array< num_dimensions, elemT > &data, const ByteOrder byte_order=ByteOrder::native)
Read the data of an Array from file.
Definition: read_data.inl:63
static const char *const registered_name
Name which will be used when parsing a ProjMatrixByBin object.
Definition: ProjMatrixByBinFromFile.h:75
Parent class for all leaves in a RegisteredObject hierarchy that do parsing of parameter files...
Definition: RegisteredParsingObject.h:77
This file defines the stir::IndexRange class.
This stores the non-zero projection matrix elements for every 'densel' that contributes to a given bi...
Definition: ProjMatrixElemsForOneBin.h:68
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition: Succeeded.h:43
defines the stir::CartesianCoordinate3D<coordT> class
Declaration of class stir::RegisteredParsingObject.