9 DGM_ELEMENTWISE1<CPriorNode, &CPriorNode::addNodeGroundTruth>(*
this, gt);
14 DGM_ASSERT_MSG(gt <
m_nStates,
"The groundtruth value %d is out of range %d", gt,
m_nStates);
Mat calculatePrior(void) const
Calculates the prior probabilies.
void addNodeGroundTruth(const Mat >)
Adds ground truth values to the co-occurance histogram vector.
Mat m_histogramPrior
The class cooccurance histogram.
byte m_nStates
The number of states (classes)