NorMIT-nav
22.09
An IGT application
|
#include <cxtestSyntheticVolumeComparer.h>
Public Member Functions | |
SyntheticVolumeComparer () | |
void | setPhantom (cx::cxSyntheticVolumePtr phantom) |
void | setTestImage (cx::ImagePtr image) |
void | checkRMSBelow (double threshold) |
void | checkCentroidDifferenceBelow (double val) |
void | checkMassDifferenceBelow (double val) |
void | checkValueWithin (cx::Vector3D p_r, int lowerLimit, int upperLimit) |
void | saveNominalOutputToFile (QString filename, cx::FileManagerServicePtr port) |
void | saveOutputToFile (QString filename, cx::FileManagerServicePtr port) |
void | setVerbose (bool val) |
bool | getVerbose () const |
Compares nominal and real versions of a test volume.
The input Test Image contains real data based on the phantom. The check methods compares this image to the corresponding nominal values in the phantom.
This class calls catch test functions.
Definition at line 33 of file cxtestSyntheticVolumeComparer.h.
cxtest::SyntheticVolumeComparer::SyntheticVolumeComparer | ( | ) |
Definition at line 27 of file cxtestSyntheticVolumeComparer.cpp.
void cxtest::SyntheticVolumeComparer::checkCentroidDifferenceBelow | ( | double | val | ) |
Definition at line 92 of file cxtestSyntheticVolumeComparer.cpp.
void cxtest::SyntheticVolumeComparer::checkMassDifferenceBelow | ( | double | val | ) |
Definition at line 105 of file cxtestSyntheticVolumeComparer.cpp.
void cxtest::SyntheticVolumeComparer::checkRMSBelow | ( | double | threshold | ) |
Definition at line 76 of file cxtestSyntheticVolumeComparer.cpp.
void cxtest::SyntheticVolumeComparer::checkValueWithin | ( | cx::Vector3D | p_r, |
int | lowerLimit, | ||
int | upperLimit | ||
) |
Definition at line 117 of file cxtestSyntheticVolumeComparer.cpp.
|
inline |
Definition at line 49 of file cxtestSyntheticVolumeComparer.h.
void cxtest::SyntheticVolumeComparer::saveNominalOutputToFile | ( | QString | filename, |
cx::FileManagerServicePtr | port | ||
) |
Definition at line 136 of file cxtestSyntheticVolumeComparer.cpp.
void cxtest::SyntheticVolumeComparer::saveOutputToFile | ( | QString | filename, |
cx::FileManagerServicePtr | port | ||
) |
Definition at line 141 of file cxtestSyntheticVolumeComparer.cpp.
void cxtest::SyntheticVolumeComparer::setPhantom | ( | cx::cxSyntheticVolumePtr | phantom | ) |
Definition at line 31 of file cxtestSyntheticVolumeComparer.cpp.
void cxtest::SyntheticVolumeComparer::setTestImage | ( | cx::ImagePtr | image | ) |
Definition at line 37 of file cxtestSyntheticVolumeComparer.cpp.
|
inline |
Definition at line 48 of file cxtestSyntheticVolumeComparer.h.