Home | History | Annotate | Download | only in src

Lines Matching refs:sizes

45 cvCreateHist( int dims, int *sizes, CvHistType type, float** ranges, int uniform )
55 if( !sizes )
56 CV_ERROR( CV_HeaderIsNull, "Null <sizes> pointer" );
65 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes,
71 CV_CALL( hist->bins = cvCreateSparseMat( dims, sizes, CV_HIST_DEFAULT_TYPE ));
92 cvMakeHistHeaderForArray( int dims, int *sizes, CvHistogram *hist,
109 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes,
429 CV_ERROR( CV_StsUnmatchedSizes, "The histograms have different sizes" );
1442 CV_ERROR( CV_StsUnmatchedSizes, "Not all the planes have equal sizes" );
2086 CV_ERROR( CV_StsUnmatchedSizes, "Not all the planes have equal sizes" );
2385 int sizes[CV_MAX_DIM];
2391 sizes[i] = mat->dim[i].size;
2394 cvInitMatNDHeader( &(h->mat), mat->dims, sizes, mat->type, mat->data.ptr );
2462 int sizes[CV_MAX_DIM];
2489 dims = cvGetDims( hist->bins, sizes );
2498 cvWriteRawData( fs, hist->thresh2[i], sizes[i]+1, "f" );