Searched refs:TOLERANCE (Results 1 – 2 of 2) sorted by relevance
36 private static final int TOLERANCE = 20; field in ImageUtils119 return Math.abs(r - g) < TOLERANCE in isGrayscale()120 && Math.abs(r - b) < TOLERANCE in isGrayscale()121 && Math.abs(g - b) < TOLERANCE; in isGrayscale()
51 TOLERANCE = 1, enumerator230 return diff >= 0 ? diff <= TOLERANCE : -diff <= TOLERANCE; in withinTolerance()