STIR  6.2.0
Functions
back_project.cxx File Reference

Back project an image. More...

#include "stir/ProjData.h"
#include "stir/DiscretisedDensity.h"
#include "stir/IO/read_from_file.h"
#include "stir/recon_buildblock/BackProjectorByBinUsingProjMatrixByBin.h"
#include "stir/recon_buildblock/ProjMatrixByBinUsingRayTracing.h"
#include "stir/IO/OutputFileFormat.h"
#include <iostream>
#include <stdlib.h>

Functions

int main (int argc, char *argv[])
 

Detailed Description

Back project an image.

Author
Kris Thielemans
Usage:
back_project output-filename image_to_back_project template_proj_data_file [backprojector-parfile ]\n"
The template_proj_data_file will be used to get the scanner, mashing etc. details (its data will not be used, nor will it be overwritten).

The default projector uses the ray-tracing matrix.

Example parameter file for specifying the back projector
Back Projector parameters:=
  type := Matrix
    Back projector Using Matrix Parameters :=
      Matrix type := Ray Tracing
       Ray tracing matrix parameters :=
       End Ray tracing matrix parameters :=
      End Back Projector Using Matrix Parameters :=
End:=