STIR  6.2.0
Namespaces | Enumerations | Functions
manip_projdata.cxx File Reference

process sinogram data More...

#include "stir/ProjDataFromStream.h"
#include "stir/SegmentByView.h"
#include "stir/SegmentBySinogram.h"
#include "stir/Sinogram.h"
#include "stir/Viewgram.h"
#include "stir/ArrayFunction.h"
#include "stir/recon_array_functions.h"
#include "stir/display.h"
#include "stir/IO/interfile.h"
#include "stir/utilities.h"
#include "stir/shared_ptr.h"
#include "stir/is_null_ptr.h"
#include <numeric>
#include <fstream>
#include <iostream>

Namespaces

 stir
 Namespace for the STIR library (and some/most of its applications)
 

Enumerations

enum  options {
  _quit, _display_view, _display_sino, _absdiff,
  _add_sino, _subtract_sino, _mult_sino, _div_sino,
  _add_scalar, _mult_scalar, _div_scalar, _stats,
  _pos_ind, _trunc_neg, _trim, _zero_ends,
  _restart, _menu
}
 

Functions

void stir::do_math (enum options operation, SegmentByView< float > &sino1, SegmentByView< float > &sino2, float &accum_max, float &accum_min, float &accum_sum, bool accumulators_initialized)
 
void stir::do_math (enum options operation, SegmentByView< float > &sino1, SegmentBySinogram< float > &seg_sinogram, float &accum_max, float &accum_min, float &accum_sum, bool accumulators_initialized, float scalar=0.0)
 
void stir::make_buffer_header (const char *data_filename, const char *header_filename, ProjData &input_sino, int limit_segments, NumericType::Type output_type=NumericType::FLOAT)
 
void stir::show_math_menu ()
 
float stir::pos_indicate (float x)
 
shared_ptr< ProjDatastir::ask_proj_data (const char *const input_query)
 
int main (int argc, char *argv[])
 

Detailed Description

process sinogram data

Author
Matthew Jacobson
Sanida Mustafovic and Kris Thielemans (conversion to new design)
PARAPET project

This utility programme processes (interfile) sinogram data (maximum number of segments as input). It can