STIR  6.2.0
SSRB.h
Go to the documentation of this file.
1 //
2 //
12 /*
13  Copyright (C) 2002- 2009, Hammersmith Imanet Ltd
14  Copyright (C) 2021, 2024 University College London
15  This file is part of STIR.
16 
17  SPDX-License-Identifier: Apache-2.0
18 
19  See STIR/LICENSE.txt for details
20 */
21 
22 #ifndef __stir_SSRB_H__
23 #define __stir_SSRB_H__
24 
25 #include "stir/common.h"
26 #include <string>
27 
28 START_NAMESPACE_STIR
29 
30 class ProjData;
31 class ProjDataInfo;
32 
34 
76 ProjDataInfo* SSRB(const ProjDataInfo& in_proj_data_info,
77  const int num_segments_to_combine,
78  const int num_views_to_combine = 1,
79  const int num_tangential_poss_to_trim = 0,
80  const int max_in_segment_num_to_process = -1,
81  const int num_tof_bins_to_combine = 1);
82 
84 
100 void SSRB(const std::string& output_filename,
101  const ProjData& in_projdata,
102  const int num_segments_to_combine,
103  const int num_views_to_combine = 1,
104  const int num_tangential_poss_to_trim = 0,
105  const bool do_normalisation = true,
106  const int max_in_segment_num_to_process = -1,
107  const int num_tof_bins_to_combine = 1);
108 
110 
135 void SSRB(ProjData& out_projdata, const ProjData& in_projdata, const bool do_normalisation = true);
136 
137 END_NAMESPACE_STIR
138 
139 #endif
ProjDataInfo * SSRB(const ProjDataInfo &in_proj_data_info, const int num_segments_to_combine, const int num_views_to_combine, const int num_tang_poss_to_trim, const int max_in_segment_num_to_process_argument, const int num_tof_bins_to_combine)
construct new ProjDataInfo that is appropriate for rebinned data
Definition: SSRB.cxx:43
basic configuration include file