STIR  6.2.0
Namespaces | Functions

Test program for back projection. More...

#include "stir/recon_buildblock/BackProjectorByBin.h"
#include "stir/display.h"
#include "stir/KeyParser.h"
#include "stir/stream.h"
#include "stir/IO/OutputFileFormat.h"
#include "stir/ProjDataFromStream.h"
#include "stir/ProjDataInfo.h"
#include "stir/ExamInfo.h"
#include "stir/utilities.h"
#include "stir/IndexRange3D.h"
#include "stir/RelatedViewgrams.h"
#include "stir/VoxelsOnCartesianGrid.h"
#include "stir/Succeeded.h"
#include "stir/is_null_ptr.h"
#include "stir/IO/read_from_file.h"
#include <fstream>
#include <list>
#include <algorithm>

Namespaces

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

Functions

void stir::do_segments (DiscretisedDensity< 3, float > &image, ProjData &proj_data_org, const int start_timing_num, const int end_timing_num, const int start_segment_num, const int end_segment_num, const int start_axial_pos_num, const int end_axial_pos_num, const int start_tang_pos_num, const int end_tang_pos_num, const int start_view, const int end_view, BackProjectorByBin *back_projector_ptr, bool fill_with_1)
 
int main (int argc, char **argv)
 

Detailed Description

Test program for back projection.

This program is mainly intended for testing backprojectors, but it can be used (somewhat awkwardly) to backproject sinograms onto images.

Usage
bcktest [output-filename [proj_data_file \
     [template-image [backprojector-parfile ]]]]

If some command line parameter is not given, the program will ask the user interactively.

The format of the parameter file to specifiy the backproejctor is as follows:

    Back Projector parameters:=
    type:= some_type
    END:=
See also
stir::BackprojectorByBin for derived classes and their parameters.
Author
Kris Thielemans
Sanida Mustafovic
PARAPET project