Lines Matching refs:MIN
98 icvTruncTab[i] = (uchar)MIN(MAX(i-255,0),255); in icvInitStereoConstTabs()
100 icvCutoffSqrTab[i] = MIN(i*i, CUTOFF); in icvInitStereoConstTabs()
110 state2->dataCostFuncTab[i] = MIN(i*DENOMINATOR - K, 0); in icvInitStereoTabs()
113 state2->smoothnessR[i] = MIN(abs(i-CUTOFF), state2->interactionRadius); in icvInitStereoTabs()
234 min_weight = MIN(min_weight, weight); in icvGCMaxFlow()
238 min_weight = MIN(min_weight, weight); in icvGCMaxFlow()
433 return icvCutoffSqrTab[MIN(da,db)]; in icvDataCostFuncGraySubpix()
465 minv = MIN(minv, v1); maxv = MAX(maxv, v1); in icvInitGraySubpix()
467 minv = MIN(minv, v1); maxv = MAX(maxv, v1); in icvInitGraySubpix()
469 minv = MIN(minv, v1); maxv = MAX(maxv, v1); in icvInitGraySubpix()
473 minv = MIN(minv, v1); maxv = MAX(maxv, v1); in icvInitGraySubpix()
491 int k = MIN(MAX((nd + 2)/4, 3), nd); in icvComputeK()
620 return MIN(sourceWeight, sinkWeight); in icvAddTWeights()
837 return MIN(E, Eprev); in icvAlphaExpand()