Lines Matching refs:classifier
90 MyCvHidHaarClassifier* classifier; member
198 if( !stage_classifier->classifier || in myicvCreateHidHaarClassifierCascade()
211 CvHaarClassifier* classifier = stage_classifier->classifier + j; in myicvCreateHidHaarClassifierCascade() local
213 total_nodes += classifier->count; in myicvCreateHidHaarClassifierCascade()
214 for( l = 0; l < classifier->count; l++ ) in myicvCreateHidHaarClassifierCascade()
218 if( classifier->haar_feature[l].rect[k].r.width ) in myicvCreateHidHaarClassifierCascade()
220 CvRect r = classifier->haar_feature[l].rect[k].r; in myicvCreateHidHaarClassifierCascade()
221 int tilted = classifier->haar_feature[l].tilted; in myicvCreateHidHaarClassifierCascade()
271 hid_stage_classifier->classifier = haar_classifier_ptr; in myicvCreateHidHaarClassifierCascade()
286 CvHaarClassifier* classifier = stage_classifier->classifier + j; in myicvCreateHidHaarClassifierCascade() local
287 MyCvHidHaarClassifier* hid_classifier = hid_stage_classifier->classifier + j; in myicvCreateHidHaarClassifierCascade()
288 int node_count = classifier->count; in myicvCreateHidHaarClassifierCascade()
298 CvHaarFeature* feature = classifier->haar_feature + l; in myicvCreateHidHaarClassifierCascade()
300 node->threshold = (int)((classifier->threshold[l]) * 65536.0); in myicvCreateHidHaarClassifierCascade()
301 node->left = classifier->left[l]; in myicvCreateHidHaarClassifierCascade()
302 node->right = classifier->right[l]; in myicvCreateHidHaarClassifierCascade()
312 memcpy( alpha_ptr, classifier->alpha, (node_count+1)*sizeof(alpha_ptr[0])); in myicvCreateHidHaarClassifierCascade()
403 double myicvEvalHidHaarClassifier( MyCvHidHaarClassifier* classifier, in myicvEvalHidHaarClassifier() argument
410 MyCvHidHaarTreeNode* node = classifier->node + idx; in myicvEvalHidHaarClassifier()
422 return classifier->alpha[-idx]; in myicvEvalHidHaarClassifier()
560 MyCvHidHaarClassifier* classifier = cascade->stage_classifier[i].classifier + j; in mycvRunHaarClassifierCascade() local
561 MyCvHidHaarTreeNode* node = classifier->node; in mycvRunHaarClassifierCascade()
565 stage_sum += classifier->alpha[sum >= t]; in mycvRunHaarClassifierCascade()
572 MyCvHidHaarClassifier* classifier = cascade->stage_classifier[i].classifier + j; in mycvRunHaarClassifierCascade() local
573 MyCvHidHaarTreeNode* node = classifier->node; in mycvRunHaarClassifierCascade()
580 stage_sum += classifier->alpha[sum >= t]; in mycvRunHaarClassifierCascade()
725 for( l = 0; l < cascade->stage_classifier[i].classifier[j].count; l++ ) in mycvSetImagesForHaarClassifierCascade()
728 &_cascade->stage_classifier[i].classifier[j].haar_feature[l]; in mycvSetImagesForHaarClassifierCascade()
732 &cascade->stage_classifier[i].classifier[j].node[l].feature; in mycvSetImagesForHaarClassifierCascade()