STIR
6.2.0
|
Forward project an image. More...
#include "stir/ProjDataInterfile.h"
#include "stir/DiscretisedDensity.h"
#include "stir/IO/read_from_file.h"
#include "stir/recon_buildblock/ForwardProjectorByBinUsingProjMatrixByBin.h"
#include "stir/recon_buildblock/ProjMatrixByBinUsingRayTracing.h"
#include "stir/warning.h"
#include "stir/error.h"
#include <iostream>
#include <stdlib.h>
Functions | |
int | main (int argc, char *argv[]) |
Forward project an image.
forward_project output-filename image_to_forward_project template_proj_data_file [forwardprojector-parfile ]\n"The template_proj_data_file will be used to get the scanner, mashing, ring difference etc. details, including energy information (its data will not be used, nor will it be overwritten). Time frame information is copied from the image.
Output is currently always in STIR-Interfile format.
The default projector uses the ray-tracing matrix.
Forward Projector parameters:= type := Matrix Forward projector Using Matrix Parameters := Matrix type := Ray Tracing Ray tracing matrix parameters := End Ray tracing matrix parameters := End Forward Projector Using Matrix Parameters := End:=