Lines Matching refs:_cascade
134 myicvReleaseHidHaarClassifierCascade( MyCvHidHaarClassifierCascade** _cascade )
136 if( _cascade && *_cascade )
138 /*CvHidHaarClassifierCascade* cascade = *_cascade;
149 cvFree( _cascade );
474 mycvRunHaarClassifierCascade( CvHaarClassifierCascade* _cascade,
489 if( !CV_IS_HAAR_CLASSIFIER(_cascade) )
490 CV_ERROR( !_cascade ? CV_StsNullPtr : CV_StsBadArg, "Invalid cascade pointer" );
492 cascade = (MyCvHidHaarClassifierCascade*)_cascade->hid_cascade;
498 pt.x + _cascade->real_window_size.width >= cascade->sum.width-2 ||
499 pt.y + _cascade->real_window_size.height >= cascade->sum.height-2 )
627 mycvSetImagesForHaarClassifierCascade( CvHaarClassifierCascade* _cascade,
646 if( !CV_IS_HAAR_CLASSIFIER(_cascade) )
647 CV_ERROR( !_cascade ? CV_StsNullPtr : CV_StsBadArg, "Invalid classifier pointer" );
666 if( !_cascade->hid_cascade )
667 CV_CALL( myicvCreateHidHaarClassifierCascade(_cascade) );
669 cascade = (MyCvHidHaarClassifierCascade*)_cascade->hid_cascade;
688 _cascade->scale = scale;
689 _cascade->real_window_size.width = cvRound( _cascade->orig_window_size.width * scale );
690 _cascade->real_window_size.height = cvRound( _cascade->orig_window_size.height * scale );
696 equ_rect.width = cvRound((_cascade->orig_window_size.width-2)*scale);
697 equ_rect.height = cvRound((_cascade->orig_window_size.height-2)*scale);
720 for( i = 0; i < _cascade->count; i++ )
728 &_cascade->stage_classifier[i].classifier[j].haar_feature[l];
818 const float orig_norm_size = (float)(_cascade->orig_window_size.width)*(_cascade->orig_window_size.height);