Skip to content

add TOF mashing to SSRB #1397

@KrisThielemans

Description

@KrisThielemans

Some pointers to enable this.

The ProjDataInfo code:

  • this would need be deleted
    if (num_tof_bins_to_combine != 1)
    error("SSRB: num_tof_bins_to_combine (%d) currently needs to be 1", num_tof_bins_to_combine);
  • This looks fine
    if (num_tof_bins_to_combine != 1)
    {
    if (num_tof_bins_to_combine < 1)
    error("SSRB: num_tof_bins_to_combine needs to be at least 1");
    const int new_tof_mash_factor = in_proj_data_info_sptr->get_tof_mash_factor() * num_tof_bins_to_combine;
    out_proj_data_info_sptr->set_tof_mash_factor(new_tof_mash_factor);
    }

The actual rebinning code:

  • compute num_tof_bins_to_combine like for views
  • add in and out_timing_pos_num in various places when constructing the sinos
  • loop over out_timing_pos_num here
  • loop over in_timing_pos_num here
  • add num_tof_bins_to_combine in the normalisation step
    out_sino /= static_cast<float>(num_in_ax_pos * num_views_to_combine);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions