Lines Matching defs:thresh
156 double * norm_histo, int *thresh)
210 *thresh = threshold * i + i / 2;
213 *thresh = threshold;
214 DBG (10, "sanei_ir_threshold_yen: threshold %d\n", *thresh);
232 double * norm_histo, int *thresh)
296 *thresh = threshold * i + i / 2;
299 *thresh = threshold;
300 DBG (10, "sanei_ir_threshold_otsu: threshold %d\n", *thresh);
315 double * norm_histo, int *thresh)
396 *thresh = threshold * it + it / 2;
399 *thresh = threshold;
400 DBG (10, "sanei_ir_threshold_maxentropy: threshold %d\n", *thresh);
531 int thresh_low, thresh;
572 status = sanei_ir_threshold_maxentropy (params, norm_histo, &thresh);
574 thresh_low = thresh;
575 status = sanei_ir_threshold_otsu (params, norm_histo, &thresh);
576 if ((status == SANE_STATUS_GOOD) && (thresh < thresh_low))
577 thresh_low = thresh;
578 status = sanei_ir_threshold_yen (params, norm_histo, &thresh);
579 if ((status == SANE_STATUS_GOOD) && (thresh < thresh_low))
580 thresh_low = thresh;
994 unsigned int thresh;
1004 thresh = by;
1009 thresh = -by;
1019 if (*manhattan++ <= thresh)