27 DllExport
CCMat(byte nStates);
28 DllExport
virtual ~CCMat(
void);
34 DllExport
void reset(
void);
42 DllExport
void save(
const std::string &path,
const std::string &name = std::string(),
short idx = -1)
const;
50 DllExport
void load(
const std::string &path,
const std::string &name = std::string(),
short idx = -1);
58 DllExport
void estimate(
const Mat >,
const Mat &solution,
const Mat &mask = Mat());
64 DllExport
void estimate(byte gt, byte solution);
float getAccuracy(void) const
Returns the overall classification accuracy.
void load(const std::string &path, const std::string &name=std::string(), short idx=-1)
Loads the confusion matrix.
void save(const std::string &path, const std::string &name=std::string(), short idx=-1) const
Saves the confusion matrix.
void estimate(const Mat >, const Mat &solution, const Mat &mask=Mat())
Estimates the confusion matrix.
CPriorEdge * m_pConfusionMatrix
COnfusion matrix container.
Mat getConfusionMatrix(void) const
Returns the confusion matrix.
Edge prior probability estimation class.
void reset(void)
Resets class variables.
CCMat(byte nStates)
Constructor.