Lines Matching refs:ranges
45 cvCreateHist( int dims, int *sizes, CvHistType type, float** ranges, int uniform )
78 if( ranges )
79 CV_CALL( cvSetHistBinRanges( hist, ranges, uniform ));
93 float *data, float **ranges, int uniform )
112 if( ranges )
115 CV_ERROR( CV_StsBadArg, "Only uniform bin ranges can be used here "
117 CV_CALL( cvSetHistBinRanges( hist, ranges, uniform ));
661 float* ranges[CV_MAX_DIM];
705 ranges[i] = (float*)src->thresh[i];
706 thresh = ranges;
721 cvSetHistBinRanges( CvHistogram* hist, float** ranges, int uniform )
730 if( !ranges )
731 CV_ERROR( CV_StsNullPtr, "NULL ranges pointer" );
744 if( !ranges[i] )
745 CV_ERROR( CV_StsNullPtr, "One of <ranges> elements is NULL" );
746 hist->thresh[i][0] = ranges[i][0];
747 hist->thresh[i][1] = ranges[i][1];
768 if( !ranges[i] )
769 CV_ERROR( CV_StsNullPtr, "One of <ranges> elements is NULL" );
773 float val = ranges[i][j];
775 CV_ERROR(CV_StsOutOfRange, "Bin ranges should go in ascenting order");
1508 CV_ERROR( CV_StsBadArg, "histogram ranges must be set (via cvSetHistBinRanges) "
2114 CV_ERROR( CV_StsBadArg, "histogram ranges must be set (via cvSetHistBinRanges) "