Lines Matching refs:thresh
46 CvSize roi, uchar thresh, uchar maxval, int type ) in icvThresh_8u_C1R() argument
54 for( i = 0; i <= thresh; i++ ) in icvThresh_8u_C1R()
60 for( i = 0; i <= thresh; i++ ) in icvThresh_8u_C1R()
66 for( i = 0; i <= thresh; i++ ) in icvThresh_8u_C1R()
69 tab[i] = thresh; in icvThresh_8u_C1R()
72 for( i = 0; i <= thresh; i++ ) in icvThresh_8u_C1R()
78 for( i = 0; i <= thresh; i++ ) in icvThresh_8u_C1R()
114 CvSize roi, float thresh, float maxval, int type ) in icvThresh_32f_C1R() argument
122 v.f = thresh; iThresh = CV_TOGGLE_FLT(v.i); in icvThresh_32f_C1R()
159 if( temp > thresh ) in icvThresh_32f_C1R()
160 temp = thresh; in icvThresh_32f_C1R()
225 low = hist->thresh[0][0]; in icvGetThreshVal_Otsu()
226 high = hist->thresh[0][1]; in icvGetThreshVal_Otsu()
297 cvThreshold( const void* srcarr, void* dstarr, double thresh, double maxval, int type ) in cvThreshold() argument
345 thresh = cvFloor(icvGetThreshVal_Otsu( hist )); in cvThreshold()
364 CV_CALL( cvCmpS( src, thresh, dst, type == CV_THRESH_BINARY ? CV_CMP_GT : CV_CMP_LE )); in cvThreshold()
391 ithresh = cvFloor(thresh); in cvThreshold()
446 ithresh = cvFloor(thresh+1.); in cvThreshold()
465 dst->data.fl, dst_step, roi, (float)thresh, in cvThreshold()
466 type == CV_THRESH_TRUNC ? (float)thresh : 0 )); in cvThreshold()
475 dst->data.fl, dst_step, roi, (float)(thresh*(1 + FLT_EPSILON)), 0 )); in cvThreshold()
481 (float)thresh, (float)maxval, type ); in cvThreshold()
492 return thresh; in cvThreshold()