Lines Matching defs:img
863 CvMat stub, *img = (CvMat*)_img;
889 CV_CALL( img = cvGetMat( img, &stub, &coi ));
893 if( CV_MAT_DEPTH(img->type) != CV_8U )
899 CV_CALL( temp = cvCreateMat( img->rows, img->cols, CV_8UC1 ));
900 CV_CALL( sum = cvCreateMat( img->rows + 1, img->cols + 1, CV_32SC1 ));
901 CV_CALL( sqsum = cvCreateMat( img->rows + 1, img
908 tilted = cvCreateMat( img->rows + 1, img->cols + 1, CV_32SC1 );
926 if( CV_MAT_CN(img->type) > 1 )
928 cvCvtColor( img, temp, CV_BGR2GRAY );
929 img = temp;
942 CV_CALL( norm_img = cvCreateMat( img->rows, img->cols, CV_32FC1 ));
943 CV_CALL( img_small = cvCreateMat( img->rows + 1, img->cols + 1, CV_8UC1 ));
951 CvSize sz = { cvRound( img->cols/factor ), cvRound( img->rows/factor ) };
975 cvResize( img, &img1, CV_INTER_LINEAR );
1094 cvIntegral( img, sum, sqsum, tilted );
1098 sumcanny = cvCreateMat( img->rows + 1, img->cols + 1, CV_32SC1 );
1099 cvCanny( img, temp, 0, 50, 3 );
1111 factor*cascade->orig_window_size.width < img->cols - 10 &&
1112 factor*cascade->orig_window_size.height < img->rows - 10;
1135 int end_x = cvRound((img->cols - win_size.width) / ystep);
1136 int end_y = cvRound((img->rows - win_size.height) / ystep);
1351 int right = MIN( img->cols-1, comp.rect.x+comp.rect.width-1 + offset );
1352 int bottom = MIN( img->rows-1, comp.rect.y+comp.rect.height-1 + offset);