Lines Matching refs:CV_CALL
58 CV_CALL( hist = (CvHistogram *)cvAlloc( sizeof( CvHistogram ))); in cvCreateHist()
65 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, in cvCreateHist()
67 CV_CALL( cvCreateData( hist->bins )); in cvCreateHist()
71 CV_CALL( hist->bins = cvCreateSparseMat( dims, sizes, CV_HIST_DEFAULT_TYPE )); in cvCreateHist()
79 CV_CALL( cvSetHistBinRanges( hist, ranges, uniform )); in cvCreateHist()
109 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, in cvMakeHistHeaderForArray()
117 CV_CALL( cvSetHistBinRanges( hist, ranges, uniform )); in cvMakeHistHeaderForArray()
200 CV_CALL( cvGetMat( hist->bins, &mat, 0, 1 )); in cvThreshHist()
201 CV_CALL( cvThreshold( &mat, &mat, thresh, 0, CV_THRESH_TOZERO )); in cvThreshHist()
237 CV_CALL( cvGetMat( hist->bins, &mat, 0, 1 )); in cvNormalizeHist()
238 CV_CALL( sum = cvSum( &mat ).val[0] ); in cvNormalizeHist()
241 CV_CALL( cvScale( &mat, &mat, factor/sum, 0 )); in cvNormalizeHist()
295 CV_CALL( cvGetMat( hist->bins, &mat, 0, 1 )); in cvGetMinMaxHistValue()
296 CV_CALL( cvMinMaxLoc( &mat, &minVal, &maxVal, &minPt, &maxPt )); in cvGetMinMaxHistValue()
419 CV_CALL( dims1 = cvGetDims( hist1->bins, size1 )); in cvCompareHist()
420 CV_CALL( dims2 = cvGetDims( hist2->bins, size2 )); in cvCompareHist()
439 CV_CALL( cvGetRawData( hist1->bins, &v.ptr )); in cvCompareHist()
441 CV_CALL( cvGetRawData( hist2->bins, &v.ptr )); in cvCompareHist()
674 CV_CALL( dims1 = cvGetDims( src->bins, size1 )); in cvCopyHist()
680 CV_CALL( dims2 = cvGetDims( dst->bins, size2 )); in cvCopyHist()
695 CV_CALL( dst = cvCreateHist( dims1, size1, in cvCopyHist()
710 CV_CALL( cvSetHistBinRanges( dst, thresh, CV_IS_UNIFORM_HIST(src))); in cvCopyHist()
713 CV_CALL( cvCopy( src->bins, dst->bins )); in cvCopyHist()
736 CV_CALL( dims = cvGetDims( hist->bins, size )); in cvSetHistBinRanges()
758 CV_CALL( hist->thresh2 = (float**)cvAlloc( in cvSetHistBinRanges()
1424 CV_CALL( dims = cvGetDims( hist->bins )); in cvCalcArrHist()
1429 CV_CALL( mat = cvGetMat( mat, i == 0 ? &stub0 : &stub, 0, 1 )); in cvCalcArrHist()
1458 CV_CALL( mat = cvGetMat( mat, &stub, 0, 1 )); in cvCalcArrHist()
1487 CV_CALL( cvZero( hist->bins )); in cvCalcArrHist()
1491 CV_CALL( cvConvert( (CvMatND*)hist->bins, &dense )); in cvCalcArrHist()
1529 CV_CALL( cvConvert( &dense, (CvMatND*)hist->bins )); in cvCalcArrHist()
2068 CV_CALL( dims = cvGetDims( hist->bins )); in cvCalcArrBackProject()
2073 CV_CALL( mat = cvGetMat( mat, i == 0 ? &stub0 : &stub, 0, 1 )); in cvCalcArrBackProject()
2170 CV_CALL( dims = cvGetDims( hist->bins )); in cvCalcArrBackProjectPatch()
2171 CV_CALL( cvCopyHist( hist, &model )); in cvCalcArrBackProjectPatch()
2172 CV_CALL( cvNormalizeHist( hist, norm_factor )); in cvCalcArrBackProjectPatch()
2177 CV_CALL( mat = cvGetMat( arr[i], &stub, 0, 0 )); in cvCalcArrBackProjectPatch()
2178 CV_CALL( img[i] = cvGetImage( mat, &imgstub[i] )); in cvCalcArrBackProjectPatch()
2182 CV_CALL( dstmat = cvGetMat( dst, &dststub, 0, 0 )); in cvCalcArrBackProjectPatch()
2206 CV_CALL( cvCalcHist( img, model )); in cvCalcArrBackProjectPatch()
2208 CV_CALL( cvNormalizeHist( model, norm_factor )); in cvCalcArrBackProjectPatch()
2209 CV_CALL( result = cvCompareHist( model, hist, method )); in cvCalcArrBackProjectPatch()
2248 CV_CALL( cvAdd( src[i]->bins, dst[0]->bins, dst[0]->bins )); in cvCalcBayesianProb()
2250 CV_CALL( cvDiv( 0, dst[0]->bins, dst[0]->bins )); in cvCalcBayesianProb()
2254 CV_CALL( cvMul( src[i]->bins, dst[0]->bins, dst[i]->bins )); in cvCalcBayesianProb()
2279 CV_CALL( cvInitNArrayIterator( 3, arrs, 0, stubs, &iterator )); in cvCalcProbDensity()
2327 CV_CALL( type = cvGetElemType( src )); in cvEqualizeHist()
2331 CV_CALL( hist = cvCreateHist( 1, &hist_sz, CV_HIST_ARRAY )); in cvEqualizeHist()
2332 CV_CALL( lut = cvCreateMat( 1, 256, CV_8UC1 )); in cvEqualizeHist()
2333 CV_CALL( cvCalcArrHist( (CvArr**)&src, hist )); in cvEqualizeHist()
2334 CV_CALL( img_sz = cvGetSize( src )); in cvEqualizeHist()
2345 CV_CALL( cvLUT( src, dst, lut )); in cvEqualizeHist()
2374 CV_CALL( h = (CvHistogram *) cvAlloc( sizeof(CvHistogram) )); in icvReadHist()
2422 CV_CALL( dims = cvGetDims( h->bins, size )); in icvReadHist()
2441 CV_CALL( h->thresh2 = (float**)cvAlloc( in icvReadHist()