ANIMA
4.0
|
Class to format and saves results. More...
#include <animaSegPerfResults.h>
Public Member Functions | |
bool | activeMeasurementOutput (eMesureName pi_eVal) |
It active the saving of one specific measure. If it set twice time the effect is inverted. More... | |
bool | save () |
It saves results on text file or xml file in function of class default settings. More... | |
SegPerfResults (std::string &pi_pchBaseFileName) | |
It is the constructor to used. More... | |
void | setAverageSurfaceDist (double pi_fVal) |
Set the result value of average surface distance measure. More... | |
void | setContourMeanDist (double pi_fVal) |
Set the result value of contour mean distance measure. More... | |
void | setDice (double pi_fVal) |
Set the result value of Dice measure. More... | |
void | setF1test (double pi_fVal) |
Set the result value of F1 score of F-test. More... | |
void | setHausdorffDist (double pi_fVal) |
Set the result value of DistHausdorff measure. More... | |
void | setJaccard (double pi_fVal) |
Set the result value of Jaccard measure. More... | |
void | setNPV (double pi_fVal) |
Set the result value of NPV (Negative Predictive Value) measure. More... | |
void | setPPV (double pi_fVal) |
Set the result value of PPV (Positive Predictive Value) measure. More... | |
void | setPPVL (double pi_fVal) |
Set the result value of PPVL measure. More... | |
void | setRVE (double pi_fVal) |
Set the result value of Relative volume error. More... | |
void | setScreen (bool pi_bEnable=true) |
Enable or disable on screen results. More... | |
void | setSensibility (double pi_fVal) |
Set the result value of Sensibility measure. More... | |
void | setSensL (double pi_fVal) |
Set the result value of SensL measure. More... | |
void | setSpecificity (double pi_fVal) |
Set the result value of Specificity measure. More... | |
void | setTxt (bool pi_bEnable=true) |
Enable or disable text file results. More... | |
void | setXml (bool pi_bEnable=true) |
Enable or disable XML file results. More... | |
~SegPerfResults () | |
Destructor. More... | |
Static Public Member Functions | |
static char const *const *const | getMeasureNameTable () |
Get the list of all Measures available. More... | |
Class to format and saves results.
Definition at line 11 of file animaSegPerfResults.h.
Definition at line 14 of file animaSegPerfResults.h.
anima::SegPerfResults::SegPerfResults | ( | std::string & | pi_pchBaseFileName | ) |
It is the constructor to used.
[in] | pi_pchBaseFileName | Name of the file to evaluate. |
Definition at line 48 of file animaSegPerfResults.cxx.
References eMesureLast.
anima::SegPerfResults::~SegPerfResults | ( | ) |
Destructor.
It prints the result on screen if necessary.
Definition at line 68 of file animaSegPerfResults.cxx.
References eMesureLast.
bool anima::SegPerfResults::activeMeasurementOutput | ( | eMesureName | pi_eVal | ) |
It active the saving of one specific measure. If it set twice time the effect is inverted.
Definition at line 170 of file animaSegPerfResults.cxx.
References eMesureLast.
Referenced by anima::SegPerfApp::storeMetricsAndMarks().
|
static |
Get the list of all Measures available.
Definition at line 187 of file animaSegPerfResults.cxx.
Referenced by anima::SegPerfApp::about().
bool anima::SegPerfResults::save | ( | ) |
It saves results on text file or xml file in function of class default settings.
Definition at line 97 of file animaSegPerfResults.cxx.
References eMesureLast.
Referenced by anima::SegPerfApp::writeStoredMetricsAndMarks().
|
inline |
Set the result value of average surface distance measure.
[in] | pi_fVal | Measure result value. |
Definition at line 153 of file animaSegPerfResults.h.
References eMesureDistAverage.
Referenced by anima::SegPerfApp::storeMetricsAndMarks().
|
inline |
Set the result value of contour mean distance measure.
[in] | pi_fVal | Measure result value. |
Definition at line 144 of file animaSegPerfResults.h.
References eMesureDistMean.
Referenced by anima::SegPerfApp::storeMetricsAndMarks().
|
inline |
Set the result value of Dice measure.
[in] | pi_fVal | Measure result value. |
Definition at line 81 of file animaSegPerfResults.h.
References eMesureDice.
Referenced by anima::SegPerfApp::storeMetricsAndMarks().
|
inline |
Set the result value of F1 score of F-test.
[in] | pi_fVal | Measure result value. |
Definition at line 180 of file animaSegPerfResults.h.
References eMesureF1Test, and eMesureLast.
Referenced by anima::SegPerfApp::storeMetricsAndMarks().
|
inline |
Set the result value of DistHausdorff measure.
[in] | pi_fVal | Measure result value. |
Definition at line 135 of file animaSegPerfResults.h.
References eMesureDistHausdorff.
Referenced by anima::SegPerfApp::storeMetricsAndMarks().
|
inline |
Set the result value of Jaccard measure.
[in] | pi_fVal | Measure result value. |
Definition at line 72 of file animaSegPerfResults.h.
References eMesureJaccard.
Referenced by anima::SegPerfApp::storeMetricsAndMarks().
|
inline |
Set the result value of NPV (Negative Predictive Value) measure.
[in] | pi_fVal | Measure result value. |
Definition at line 117 of file animaSegPerfResults.h.
References eMesureNPV.
Referenced by anima::SegPerfApp::storeMetricsAndMarks().
|
inline |
Set the result value of PPV (Positive Predictive Value) measure.
[in] | pi_fVal | Measure result value. |
Definition at line 108 of file animaSegPerfResults.h.
References eMesurePPV.
Referenced by anima::SegPerfApp::storeMetricsAndMarks().
|
inline |
Set the result value of PPVL measure.
[in] | pi_fVal | Measure result value. |
Definition at line 162 of file animaSegPerfResults.h.
References eMesurePPVL.
Referenced by anima::SegPerfApp::storeMetricsAndMarks().
|
inline |
Set the result value of Relative volume error.
[in] | pi_fVal | Measure result value. |
Definition at line 126 of file animaSegPerfResults.h.
References eMesureRelativeVolumeError.
Referenced by anima::SegPerfApp::storeMetricsAndMarks().
|
inline |
Enable or disable on screen results.
[in] | pi_bEnable | Enable or disable. |
Definition at line 63 of file animaSegPerfResults.h.
Referenced by anima::SegPerfApp::storeMetricsAndMarks().
|
inline |
Set the result value of Sensibility measure.
[in] | pi_fVal | Measure result value. |
Definition at line 90 of file animaSegPerfResults.h.
References eMesureSensibility.
Referenced by anima::SegPerfApp::storeMetricsAndMarks().
|
inline |
Set the result value of SensL measure.
[in] | pi_fVal | Measure result value. |
Definition at line 171 of file animaSegPerfResults.h.
References eMesureSensL.
Referenced by anima::SegPerfApp::storeMetricsAndMarks().
|
inline |
Set the result value of Specificity measure.
[in] | pi_fVal | Measure result value. |
Definition at line 99 of file animaSegPerfResults.h.
References eMesureSpecificity.
Referenced by anima::SegPerfApp::storeMetricsAndMarks().
|
inline |
Enable or disable text file results.
[in] | pi_bEnable | Enable or disable. |
Definition at line 45 of file animaSegPerfResults.h.
Referenced by anima::SegPerfApp::storeMetricsAndMarks().
|
inline |
Enable or disable XML file results.
[in] | pi_bEnable | Enable or disable. |
Definition at line 54 of file animaSegPerfResults.h.
Referenced by anima::SegPerfApp::storeMetricsAndMarks().