Home | History | Annotate | Download | only in src

Lines Matching refs:thresh

188 cvThreshHist( CvHistogram* hist, double thresh )
201 CV_CALL( cvThreshold( &mat, &mat, thresh, 0, CV_THRESH_TOZERO ));
213 if( *val <= thresh )
662 float** thresh = 0;
705 ranges[i] = (float*)src->thresh[i];
706 thresh = ranges;
709 thresh = src->thresh2;
710 CV_CALL( cvSetHistBinRanges( dst, thresh, CV_IS_UNIFORM_HIST(src)));
746 hist->thresh[i][0] = ranges[i][0];
747 hist->thresh[i][1] = ranges[i][1];
805 double a = have_range ? hist->thresh[i][0] : 0;
806 double b = have_range ? hist->thresh[i][1] : 256;
1140 double t = histsize[i]/((double)hist->thresh[i][1] - hist->thresh[i][0]);
1142 uni_range[i][1] = -t*hist->thresh[i][0];
1308 float* thresh = hist->thresh2[i];
1311 while( v >= thresh[idx+1] && ++idx < sz )
1369 float* thresh = hist->thresh2[i];
1372 while( v >= thresh[idx+1] && ++idx < sz )
1833 ((double)hist->thresh[i][1] - hist->thresh[i][0]);
1835 uni_range[i][1] = -t*hist->thresh[i][0];
1960 float* thresh = hist->thresh2[i];
1963 while( v >= thresh[idx+1] && ++idx < sz )
2017 float* thresh = hist->thresh2[i];
2020 while( v >= thresh[idx+1] && ++idx < sz )
2427 thresh_node = cvGetFileNodeByName( fs, node, "thresh" );
2429 CV_ERROR( CV_StsError, "'thresh' node is missing");
2435 cvReadRawDataSlice( fs, &reader, 2, h->thresh[i], "f" );
2490 cvStartWriteStruct( fs, "thresh", CV_NODE_SEQ + CV_NODE_FLOW );
2493 cvWriteRawData( fs, hist->thresh[i], 2, "f" );