37 #pragma warning(push, 0) // no warnings from includes 41 #pragma warning (disable: 4251) // inlined Qt functions in dll interface 44 #ifdef DLL_CORE_EXPORT 45 #define DllCoreExport Q_DECL_EXPORT 47 #define DllCoreExport Q_DECL_IMPORT 64 EvalInfo(
const QString& name =
"unknown");
68 void eval(
int trueClassId,
int predictedClassId,
bool isBackground =
false);
70 void setName(
const QString& name);
73 double accuracy()
const;
74 double fscore()
const;
75 double precision()
const;
76 double recall()
const;
80 static QString header();
81 QString toString()
const;
97 bool write(
const QString& filePath)
const;
98 QString toString()
const;
101 QVector<EvalInfo> mEvals;
103 QByteArray toBuffer()
const;
Information class for SuperPixel labeling.
Definition: Evaluation.h:61
#define DllCoreExport
Definition: BaseImageElement.h:43
Definition: BaseImageElement.h:53
Definition: Evaluation.h:92
Definition: Algorithms.cpp:45