标签:cvclassifier cv_classifier_fields opencv源码分析 cvhaartraining.cpp
/* classifier fields common to all classifiers */ #define CV_CLASSIFIER_FIELDS() int flags; float(*eval)( struct CvClassifier*, CvMat* ); void (*tune)( struct CvClassifier*, CvMat*, int flags, CvMat*, CvMat*, CvMat*, CvMat*, CvMat* ); int (*save)( struct CvClassifier*, const char* file_name ); void (*release)( struct CvClassifier** ); typedef struct CvClassifier { CV_CLASSIFIER_FIELDS() } CvClassifier; #define CV_CLASSIFIER_TRAIN_PARAM_FIELDS() typedef struct CvClassifierTrainParams { CV_CLASSIFIER_TRAIN_PARAM_FIELDS() } CvClassifierTrainParams;
CvClassifier和宏 CV_CLASSIFIER_FIELDS()
标签:cvclassifier cv_classifier_fields opencv源码分析 cvhaartraining.cpp
原文地址:http://blog.csdn.net/ding977921830/article/details/46530075