|
STIR 6.4.0
|
compare 2 files with sinogram data More...
#include "stir/ProjData.h"#include "stir/SegmentByView.h"#include "stir/SegmentIndices.h"#include "stir/shared_ptr.h"#include <iostream>#include <algorithm>Namespaces | |
| namespace | stir |
| Namespace for the STIR library (and some/most of its applications) | |
Functions | |
| void | stir::update_comparison (SegmentByView< float > &input1, const SegmentByView< float > &input2, float &max_pos_error, float &max_neg_error, float &litude) |
| int | main (int argc, char *argv[]) |
compare 2 files with sinogram data
This utility compares two input projection data sets. The input data are deemed identical if their maximum absolute difference is less than a hard-coded tolerance value. Diagnostic output is written to stdout, and the return value indicates if the files are identical or not. Note however that a non-success return value (which is 1 on most systems) might also indicate an error reading the data.