|
STIR 6.5.0
|
base class for data objects such as ProjData etc More...
#include "stir/DataWithProjDataInfo.h"

Public Member Functions | |
| DataWithProjDataInfo () | |
| Default constructor sets internal member to 0. | |
| DataWithProjDataInfo (const shared_ptr< const ProjDataInfo > &proj_data_info_sptr_v) | |
| virtual const ProjDataInfo & | get_proj_data_info () const |
| virtual shared_ptr< const ProjDataInfo > | get_proj_data_info_sptr () const |
| Get shared pointer to ProjData info. | |
| int | get_num_segments () const |
| Get number of segments. | |
| int | get_num_axial_poss (const int segment_num) const |
| Get number of axial positions per segment. | |
| int | get_num_views () const |
| Get number of views. | |
| int | get_num_tangential_poss () const |
| Get number of tangential positions. | |
| int | get_num_tof_poss () const |
| Get number of TOF positions. | |
| int | get_min_tof_pos_num () const |
| Get the index of the first timing position. | |
| int | get_max_tof_pos_num () const |
| Get the index of the last timing position. | |
| int | get_tof_mash_factor () const |
| Get TOG mash factor. | |
| int | get_min_segment_num () const |
| Get minimum segment number. | |
| int | get_max_segment_num () const |
| Get maximum segment number. | |
| int | get_min_axial_pos_num (const int segment_num) const |
| Get mininum axial position per segmnet. | |
| int | get_max_axial_pos_num (const int segment_num) const |
| Get maximum axial position per segment. | |
| int | get_min_view_num () const |
| Get minimum view number. | |
| int | get_max_view_num () const |
| Get maximum view number. | |
| int | get_min_tangential_pos_num () const |
| Get minimum tangential position number. | |
| int | get_max_tangential_pos_num () const |
| Get maximum tangential position number. | |
Protected Attributes | |
| shared_ptr< const ProjDataInfo > | proj_data_info_sptr |
base class for data objects such as ProjData etc
Provides a ProjDataInfo member.
| stir::DataWithProjDataInfo::DataWithProjDataInfo | ( | ) |
Default constructor sets internal member to 0.
References DataWithProjDataInfo().
Referenced by DataWithProjDataInfo(), stir::ProjData::ProjData(), stir::ProjData::ProjData(), stir::Sinogram< elemT >::Sinogram(), and stir::Viewgram< elemT >::Viewgram().
|
virtual |
Get shared pointer to ProjData info.
Referenced by stir::FBP3DRPReconstruction::actual_reconstruct(), stir::BinNormalisation::apply(), stir::BinNormalisation::apply(), stir::BinNormalisationFromAttenuationImage::apply(), stir::BinNormalisationFromProjData::apply(), stir::BinNormalisationPETFromComponents::apply(), stir::BackProjectorByBin::back_project(), stir::BackProjectorByBin::back_project(), stir::ecat::ecat7::CListModeDataECAT< CListRecordT >::CListModeDataECAT(), stir::NiftyPETHelper::convert_viewgram_stir_to_niftyPET(), stir::ProjData::copy_to(), stir::divide_and_truncate(), stir::FBP3DRPReconstruction::do_colsher_filter_view(), stir::extend_segment(), stir::ProjData::fill(), stir::ProjDataInMemory::fill(), stir::ProjData::fill_from(), stir::ForwardProjectorByBin::forward_project(), stir::Sinogram< elemT >::get_empty_copy(), stir::CListModeDataPENN::get_empty_record_sptr(), stir::CListModeDataPETSIRD::get_empty_record_sptr(), stir::CListModeDataROOT::get_empty_record_sptr(), stir::CListModeDataSAFIR< CListRecordT >::get_empty_record_sptr(), stir::ecat::CListModeDataECAT8_32bit::get_empty_record_sptr(), stir::GE::RDF_HDF5::CListModeDataGEHDF5::get_empty_record_sptr(), stir::BackProjectorByBinParallelproj::get_output(), stir::get_scale_factors_per_sinogram(), stir::ListModeData::get_scanner(), stir::CListModeDataPENN::get_total_number_of_events(), stir::RelatedViewgrams< elemT >::grow(), stir::RelatedViewgrams< elemT >::has_same_characteristics(), stir::Segment< elemT >::has_same_characteristics(), stir::Sinogram< elemT >::has_same_characteristics(), stir::Viewgram< elemT >::has_same_characteristics(), stir::interpolate_blocks_on_cylindrical_projdata(), stir::inverse_SSRB(), stir::ML_estimate_component_based_normalisation(), stir::ecat::ecat6::ProjData_to_ECAT6(), stir::ecat::ecat6::ProjData_to_ECAT6(), stir::ecat::ecat7::ProjData_to_ECAT7(), stir::ProjDataInMemory::ProjDataInMemory(), stir::ProjDataInMemory::ProjDataInMemory(), stir::randoms_from_singles(), stir::FourierRebinning::rebin(), stir::scale_sinograms(), stir::SegmentBySinogram< elemT >::SegmentBySinogram(), stir::SegmentByView< elemT >::SegmentByView(), stir::ProjDataFromStream::set_sinogram(), stir::ProjDataInMemory::set_sinogram(), stir::ProjDataFromStream::set_viewgram(), stir::ProjDataInMemory::set_viewgram(), stir::SSRB(), stir::SSRB(), stir::transform_3d_object(), stir::BinNormalisation::undo(), stir::BinNormalisation::undo(), stir::BinNormalisationFromAttenuationImage::undo(), stir::BinNormalisationFromProjData::undo(), stir::BinNormalisationPETFromComponents::undo(), stir::ScatterEstimation::upsample_and_fit_scatter_estimate(), stir::write_basic_interfile_PDFS_header(), stir::ProjData::xapyb(), stir::ProjData::xapyb(), stir::ProjDataInMemory::xapyb(), stir::ProjDataInMemory::xapyb(), stir::zoom_viewgram(), stir::zoom_viewgram(), and stir::zoom_viewgrams().
|
inline |
|
inline |
Get number of axial positions per segment.
References get_num_axial_poss().
Referenced by get_num_axial_poss(), stir::ProjDataFromStream::get_offset(), stir::ecat::ecat6::ProjData_to_ECAT6(), and stir::ProjDataFromStream::set_viewgram().
|
inline |
Get number of views.
References get_num_views().
Referenced by stir::FBP3DRPReconstruction::do_best_fit(), get_num_views(), stir::ProjDataFromStream::get_offset(), stir::ecat::ecat6::ProjData_to_ECAT6(), stir::FourierRebinning::rebin(), stir::ProjDataFromStream::set_segment(), stir::ProjDataFromStream::set_segment(), stir::ProjDataInMemory::set_segment(), stir::SSRB(), and stir::write_basic_interfile_PDFS_header().
|
inline |
Get number of tangential positions.
References get_num_tangential_poss().
Referenced by stir::FBP3DRPReconstruction::do_best_fit(), stir::FBP3DRPReconstruction::do_colsher_filter_view(), get_num_tangential_poss(), stir::ProjDataFromStream::get_offset(), stir::ProjDataFromStream::get_sinogram(), stir::ProjDataInMemory::get_sinogram(), stir::ProjDataFromStream::get_viewgram(), stir::ProjDataInMemory::get_viewgram(), stir::ecat::ecat6::ProjData_to_ECAT6(), stir::ProjDataFromStream::set_segment(), stir::ProjDataFromStream::set_segment(), stir::ProjDataInMemory::set_segment(), stir::ProjDataFromStream::set_viewgram(), stir::truncate_rim(), and stir::truncate_rim().
|
inline |
|
inline |
Get the index of the first timing position.
References get_min_tof_pos_num().
Referenced by stir::ProjData::copy_to(), stir::ProjData::fill(), stir::ProjData::fill(), stir::ProjData::fill_from(), stir::ProjData::find_max(), stir::ProjData::find_min(), get_min_tof_pos_num(), stir::ProjDataFromStream::get_offset(), stir::ProjData::get_subset(), stir::ProjData::norm_squared(), stir::CorrectProjDataApplication::run(), stir::SSRB(), stir::ProjData::xapyb(), and stir::ProjData::xapyb().
|
inline |
Get the index of the last timing position.
References get_max_tof_pos_num().
Referenced by stir::ProjData::fill(), stir::ProjData::fill(), stir::ProjData::find_max(), stir::ProjData::find_min(), get_max_tof_pos_num(), stir::ProjDataFromStream::get_offset(), stir::ProjData::get_subset(), stir::ProjData::norm_squared(), stir::CorrectProjDataApplication::run(), stir::SSRB(), stir::ProjData::xapyb(), and stir::ProjData::xapyb().
|
inline |
|
inline |
Get minimum segment number.
References get_min_segment_num().
Referenced by stir::BackProjectorByBin::back_project(), stir::ProjData::fill(), stir::ProjData::fill(), stir::ProjData::find_max(), stir::ProjData::find_min(), stir::ForwardProjectorByBin::forward_project(), get_min_segment_num(), stir::ProjDataFromStream::get_offset(), stir::ProjData::get_subset(), stir::inverse_SSRB(), stir::ProjData::norm_squared(), stir::ecat::ecat6::ProjData_to_ECAT6(), stir::CorrectProjDataApplication::run(), stir::SSRB(), stir::transform_3d_object(), stir::transform_3d_object(), stir::BinNormalisation::undo(), stir::ProjData::xapyb(), and stir::ProjData::xapyb().
|
inline |
Get maximum segment number.
References get_max_segment_num().
Referenced by stir::BackProjectorByBin::back_project(), stir::ProjData::fill(), stir::ProjData::fill(), stir::ProjData::find_max(), stir::ProjData::find_min(), stir::ForwardProjectorByBin::forward_project(), get_max_segment_num(), stir::ProjDataFromStream::get_offset(), stir::ProjData::get_subset(), stir::inverse_SSRB(), stir::ProjData::norm_squared(), stir::ecat::ecat6::ProjData_to_ECAT6(), stir::CorrectProjDataApplication::run(), stir::SSRB(), stir::transform_3d_object(), stir::transform_3d_object(), stir::BinNormalisation::undo(), stir::ProjData::xapyb(), and stir::ProjData::xapyb().
|
inline |
Get mininum axial position per segmnet.
References get_min_axial_pos_num().
Referenced by get_min_axial_pos_num(), stir::ProjDataFromStream::get_offset(), stir::ProjDataFromStream::get_segment_by_sinogram(), stir::ProjDataInMemory::get_segment_by_sinogram(), stir::ProjDataFromStream::get_segment_by_view(), stir::ProjDataFromStream::get_viewgram(), stir::ProjDataInMemory::get_viewgram(), stir::inverse_SSRB(), stir::ecat::ecat6::ProjData_to_ECAT6(), stir::ProjDataFromStream::set_segment(), stir::ProjDataFromStream::set_segment(), stir::ProjDataInMemory::set_segment(), stir::ProjDataFromStream::set_viewgram(), stir::ProjDataInMemory::set_viewgram(), and stir::SSRB().
|
inline |
Get maximum axial position per segment.
References get_max_axial_pos_num().
Referenced by get_max_axial_pos_num(), stir::ProjDataFromStream::get_offset(), stir::ProjDataFromStream::get_viewgram(), stir::ProjDataInMemory::get_viewgram(), stir::inverse_SSRB(), stir::ProjDataFromStream::set_viewgram(), stir::ProjDataInMemory::set_viewgram(), and stir::SSRB().
|
inline |
Get minimum view number.
References get_min_view_num().
Referenced by stir::divide_array(), stir::FBP3DRPReconstruction::do_best_fit(), get_min_view_num(), stir::ProjDataFromStream::get_offset(), stir::ProjData::get_segment_by_sinogram(), stir::ProjDataFromStream::get_segment_by_sinogram(), stir::ProjDataInMemory::get_segment_by_sinogram(), stir::ProjData::get_segment_by_view(), stir::ProjDataFromStream::get_segment_by_view(), stir::ProjDataFromStream::get_sinogram(), stir::ProjDataInMemory::get_sinogram(), stir::SegmentByView< elemT >::get_sinogram(), stir::ecat::ecat6::ProjData_to_ECAT6(), stir::FourierRebinning::rebin(), stir::CorrectProjDataApplication::run(), stir::SegmentBySinogram< elemT >::SegmentBySinogram(), stir::SegmentByView< elemT >::SegmentByView(), stir::SegmentByView< elemT >::SegmentByView(), stir::ProjData::set_segment(), stir::ProjData::set_segment(), stir::ProjDataFromStream::set_segment(), stir::ProjDataFromStream::set_segment(), stir::ProjDataInMemory::set_segment(), stir::ProjDataFromStream::set_sinogram(), stir::ProjDataInMemory::set_sinogram(), stir::SegmentByView< elemT >::set_sinogram(), stir::Sinogram< elemT >::Sinogram(), stir::Sinogram< elemT >::Sinogram(), stir::SSRB(), stir::transform_3d_object(), and stir::truncate_rim().
|
inline |
Get maximum view number.
References get_max_view_num().
Referenced by stir::divide_array(), stir::FBP3DRPReconstruction::do_best_fit(), get_max_view_num(), stir::ProjData::get_segment_by_sinogram(), stir::ProjData::get_segment_by_view(), stir::ProjDataFromStream::get_sinogram(), stir::ProjDataInMemory::get_sinogram(), stir::SegmentByView< elemT >::get_sinogram(), stir::ecat::ecat6::ProjData_to_ECAT6(), stir::FourierRebinning::rebin(), stir::CorrectProjDataApplication::run(), stir::SegmentBySinogram< elemT >::SegmentBySinogram(), stir::SegmentByView< elemT >::SegmentByView(), stir::SegmentByView< elemT >::SegmentByView(), stir::ProjData::set_segment(), stir::ProjData::set_segment(), stir::ProjDataFromStream::set_sinogram(), stir::SegmentByView< elemT >::set_sinogram(), stir::Sinogram< elemT >::Sinogram(), stir::SSRB(), stir::transform_3d_object(), and stir::truncate_rim().
|
inline |
Get minimum tangential position number.
References get_min_tangential_pos_num().
Referenced by stir::accumulate_loglikelihood(), stir::BackProjectorByBin::back_project(), stir::BackProjectorByBin::back_project(), stir::display(), stir::distributable_computation(), stir::distributable_computation_cache_enabled(), stir::divide_and_truncate(), stir::divide_array(), stir::FBP3DRPReconstruction::do_best_fit(), stir::FBP3DRPReconstruction::do_grow3D_viewgram(), stir::ForwardProjectorByBin::forward_project(), get_min_tangential_pos_num(), stir::ProjDataFromStream::get_offset(), stir::ProjDataFromStream::get_segment_by_sinogram(), stir::ProjDataInMemory::get_segment_by_sinogram(), stir::ProjDataFromStream::get_segment_by_view(), stir::ProjDataFromStream::get_sinogram(), stir::ProjDataInMemory::get_sinogram(), stir::SegmentByView< elemT >::get_sinogram(), stir::ProjDataFromStream::get_viewgram(), stir::ProjDataInMemory::get_viewgram(), stir::SegmentBySinogram< elemT >::get_viewgram(), stir::ecat::ecat6::ProjData_to_ECAT6(), stir::FourierRebinning::rebin(), stir::SegmentBySinogram< elemT >::SegmentBySinogram(), stir::SegmentByView< elemT >::SegmentByView(), distributed::send_viewgram(), stir::ProjDataFromStream::set_segment(), stir::ProjDataFromStream::set_segment(), stir::ProjDataInMemory::set_segment(), stir::ProjDataFromStream::set_sinogram(), stir::ProjDataInMemory::set_sinogram(), stir::ProjDataFromStream::set_viewgram(), stir::ProjDataInMemory::set_viewgram(), stir::Sinogram< elemT >::Sinogram(), stir::SSRB(), stir::transform_3d_object(), stir::truncate_rim(), stir::truncate_rim(), stir::Viewgram< elemT >::Viewgram(), stir::zoom_viewgram(), stir::zoom_viewgram(), and stir::zoom_viewgrams().
|
inline |
Get maximum tangential position number.
References get_max_tangential_pos_num().
Referenced by stir::accumulate_loglikelihood(), stir::BackProjectorByBin::back_project(), stir::BackProjectorByBin::back_project(), stir::display(), stir::distributable_computation(), stir::distributable_computation_cache_enabled(), stir::divide_and_truncate(), stir::divide_array(), stir::FBP3DRPReconstruction::do_best_fit(), stir::FBP3DRPReconstruction::do_grow3D_viewgram(), stir::ForwardProjectorByBin::forward_project(), get_max_tangential_pos_num(), stir::ProjDataFromStream::get_sinogram(), stir::ProjDataInMemory::get_sinogram(), stir::SegmentByView< elemT >::get_sinogram(), stir::ProjDataFromStream::get_viewgram(), stir::ProjDataInMemory::get_viewgram(), stir::SegmentBySinogram< elemT >::get_viewgram(), stir::ecat::ecat6::ProjData_to_ECAT6(), stir::FourierRebinning::rebin(), stir::SegmentBySinogram< elemT >::SegmentBySinogram(), stir::SegmentByView< elemT >::SegmentByView(), distributed::send_viewgram(), stir::Sinogram< elemT >::Sinogram(), stir::SSRB(), stir::transform_3d_object(), stir::truncate_rim(), stir::truncate_rim(), stir::Viewgram< elemT >::Viewgram(), stir::zoom_viewgram(), stir::zoom_viewgram(), and stir::zoom_viewgrams().