Main program for stir::SSRB.
More...
#include "stir/ProjData.h"
#include "stir/shared_ptr.h"
#include "stir/SSRB.h"
#include <string>
#include <string.h>
#include "stir/ProjDataInterfile.h"
|
|
void | classic_SSRB (int argc, char **argv) |
| |
|
void | template_based_SSRB (int argc, char **argv) |
| |
|
int | main (int argc, char **argv) |
| |
Main program for stir::SSRB.
- Author
- Kris Thielemans & Robert Twyman
- Usage:
SSRB [-t num_tangential_poss_to_trim] \
output_filename input_projdata_name [num_segments_to_combine \
[ num_views_to_combine [do_normalisation [max_in_segment_num_to_process ]]]]
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
SSRB --
template template_projdata_filename output_filename input_projdata_name [do_normalisation]
- Parameters
-
| num_segments_to_combine | has to be odd. It is used as the number of segments in the original data to combine. |
| num_views_to_combine | has to be at least 1 (which is the default). It is used as the number of views in the original data to combine. |
| num_tangential_poss_to_trim | has to be smaller than the available number of tangential positions. |
| do_normalisation | has to be 1 (normalise the result, which is the default) or 0 |
| max_in_segment_num_to_process | defaults to all segments |
| template_projdata_filename,indicated | by the –template option, a template projection data which SSRB will map to. |
- Example:
- If in.hs is a file without axial compression (span=1) nor mashing, then the output would correspond to a span=3 file with mashing factor 2, and would be normalised (at least as far as SSRB concerns). num_segments_to_combine=3 results in ring differences -1,0,1 to be combined all into segment 0, etc.
- See also
- stir::SSRB(const std::string& output_filename,
const stir::ProjData& in_projdata,
const int num_segments_to_combine,
const int num_views_to_combine,
const int num_tang_poss_to_trim,
const bool do_normalisation,
const int max_in_segment_num_to_process
) for info on parameters and restrictions.
SSRB --
template template_sino.hs out in.hs 1
This use SSRB to convert in.hs into the shape of template_sino.hs and save the result as interile out.