STIR  6.2.0
Functions
abs_image.cxx File Reference

It produces the absolute value image of an image. More...

#include "stir/Succeeded.h"
#include "stir/IO/OutputFileFormat.h"
#include "stir/IO/read_from_file.h"
#include "stir/DiscretisedDensity.h"
#include "stir/modelling/ParametricDiscretisedDensity.h"
#include "stir/DynamicDiscretisedDensity.h"
#include <algorithm>
#include "stir/getopt.h"

Functions

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

Detailed Description

It produces the absolute value image of an image.

Author
Kris Thielemans
Charalampos Tsoumpas
Todo:
Potentially, in the future it should be included in stir_math as an option.
Usage:
abs_image [-p || -d] -o output_filename -i input_filename
Use -p switch for parametric images, or the -d switch for dynamic images.