Lines Matching refs:tilted
107 CvMat sum, sqsum, tilted; member
239 int tilted = classifier->haar_feature[l].tilted; in icvCreateHidHaarClassifierCascade() local
240 has_tilted_features |= tilted != 0; in icvCreateHidHaarClassifierCascade()
244 (!tilted && in icvCreateHidHaarClassifierCascade()
247 (tilted && (r.x - r.height < 0 || in icvCreateHidHaarClassifierCascade()
440 CvMat tilted_stub, *tilted = (CvMat*)_tilted_sum; in cvSetImagesForHaarClassifierCascade() local
474 CV_CALL( tilted = cvGetMat( tilted, &tilted_stub, &coi1 )); in cvSetImagesForHaarClassifierCascade()
476 if( CV_MAT_TYPE(tilted->type) != CV_32SC1 ) in cvSetImagesForHaarClassifierCascade()
480 if( sum->step != tilted->step ) in cvSetImagesForHaarClassifierCascade()
484 if( !CV_ARE_SIZES_EQ( sum, tilted )) in cvSetImagesForHaarClassifierCascade()
486 cascade->tilted = *tilted; in cvSetImagesForHaarClassifierCascade()
627 correction_ratio = weight_scale * (!feature->tilted ? 1 : 0.5); in cvSetImagesForHaarClassifierCascade()
630 if( !feature->tilted ) in cvSetImagesForHaarClassifierCascade()
639 … hidfeature->rect[k].p2 = sum_elem_ptr(*tilted, tr.y + tr.width, tr.x + tr.width); in cvSetImagesForHaarClassifierCascade()
640 hidfeature->rect[k].p3 = sum_elem_ptr(*tilted, tr.y + tr.width + tr.height, in cvSetImagesForHaarClassifierCascade()
642 hidfeature->rect[k].p0 = sum_elem_ptr(*tilted, tr.y, tr.x); in cvSetImagesForHaarClassifierCascade()
643 … hidfeature->rect[k].p1 = sum_elem_ptr(*tilted, tr.y + tr.height, tr.x - tr.height); in cvSetImagesForHaarClassifierCascade()
864 … CvMat *temp = 0, *sum = 0, *tilted = 0, *sqsum = 0, *norm_img = 0, *sumcanny = 0, *img_small = 0; in cvHaarDetectObjects() local
908 tilted = cvCreateMat( img->rows + 1, img->cols + 1, CV_32SC1 ); in cvHaarDetectObjects()
967 if( tilted ) in cvHaarDetectObjects()
969 tilted1 = cvMat( sz.height+1, sz.width+1, CV_32SC1, tilted->data.ptr ); in cvHaarDetectObjects()
1094 cvIntegral( img, sum, sqsum, tilted ); in cvHaarDetectObjects()
1145 cvSetImagesForHaarClassifierCascade( cascade, sum, sqsum, tilted, factor ); in cvHaarDetectObjects()
1524 cvReleaseMat( &tilted ); in cvHaarDetectObjects()
1601 classifier->haar_feature[l].tilted = strncmp( str, "tilted", 6 ) == 0; in icvLoadCascadeCART()
1982 classifier->haar_feature[k].tilted = ( fn->data.i != 0 ); in icvReadHaarClassifier()
2200 CV_CALL( cvWriteInt( fs, ICV_HAAR_TILTED_NAME, feature->tilted ) ); in icvWriteHaarClassifier()