1 #ifndef mitkCollectionStatistic_h
2 #define mitkCollectionStatistic_h
4 #include <MitkDataCollectionExports.h>
25 m_TruePositive(0), m_FalsePositive(0), m_TrueNegative(0), m_FalseNegative(0),
26 m_DICE(0), m_Jaccard(0), m_Sensitivity(0), m_Specificity(0), m_RMSD(-1.0)
33 virtual unsigned char operator() (
unsigned char value)
const = 0;
50 if (value == 1 || value == 5)
62 if (value == 1 || value == 0)
82 void SetClassCount (
size_t count);
83 size_t GetClassCount();
85 void SetGoldName(std::string name);
86 std::string GetGoldName();
88 void SetTestName(std::string name);
89 std::string GetTestName();
99 void Print(std::ostream& out, std::ostream& sout = std::cout,
bool withHeader =
false, std::string label =
"None");
101 int IsInSameVirtualClass(
unsigned char gold,
unsigned char test);
108 std::vector<StatisticData> GetStatisticData(
unsigned char c)
const;
117 std::string m_GroundTruthName;
118 std::string m_TestName;
119 std::string m_MaskName;
122 std::vector<unsigned char> m_ConnectionGold;
123 std::vector<unsigned char> m_ConnectionTest;
124 std::vector<unsigned char> m_ConnectionClass;
125 size_t m_VituralClassCount;
127 MultiDataVector m_ImageClassStatistic;
128 std::vector<std::string> m_ImageNames;
129 DataVector m_ImageStatistic;
138 #endif // mitkCollectionStatistic_h
unsigned char operator()(unsigned char value) const
unsigned int m_TruePositive
unsigned int m_FalseNegative
unsigned char operator()(unsigned char value) const
Follow Up Storage - Class to facilitate loading/accessing structured follow-up data.
virtual unsigned char operator()(unsigned char value) const =0
static void Update(vtkPolyData *)
DataCollection - Class to facilitate loading/accessing structured data.
unsigned int m_FalsePositive
void SetMaskName(std::string name)
std::vector< DataVector > MultiDataVector
unsigned int m_TrueNegative
unsigned char operator()(unsigned char value) const
std::vector< StatisticData > DataVector