5 #include "TrainEdgePotts.h" 68 DllExport
virtual Mat
calculateEdgePotentials(
const Mat &featureVector1,
const Mat &featureVector2,
const vec_float_t &vParams)
const;
Charbonnier penalization approach.
CTrainEdgePottsCS(byte nStates, word nFeatures, ePotPenalApproach penApproach=eP_APP_PEN_EXP)
Constructor.
Contrast-Sensitive Potts training class.
Base abstract class for random model training.
Potts edge training class.
virtual ~CTrainEdgePottsCS(void)
Perrona-Malik penalization approach.
ePotPenalApproach
Penalization approach flag.
ePotPenalApproach m_penApproach
Exponential penalization approach.
virtual Mat calculateEdgePotentials(const Mat &featureVector1, const Mat &featureVector2, const vec_float_t &vParams) const
Returns the contrast-sensitive edge potentials.