Searched refs:ignore_color (Results 1 – 6 of 6) sorted by relevance
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
D | image_util_numpy_impl.py | 153 def GetColorHistogram(image, ignore_color, tolerance): argument 156 if ignore_color is not None: 157 color = np.array([ignore_color.b, ignore_color.g, ignore_color.r]) 167 if ignore_color is not None: 168 color = np.array([ignore_color.b, ignore_color.g, ignore_color.r]) 177 np.zeros((256)), ignore_color) 182 return color_histogram.ColorHistogram(hist_r, hist_g, hist_b, ignore_color)
|
D | _bitmap.py | 64 def Histogram(self, ignore_color, tolerance): argument 65 ignore_color_int = -1 if ignore_color is None else int(ignore_color) 73 ignore_color) 232 def ColorHistogram(self, ignore_color=None, tolerance=0): argument 233 return self._PrepareTools().Histogram(ignore_color, tolerance)
|
D | bitmaptools.cc | 170 int ignore_color; in Histogram() local 172 if (!(ReadInt(&ignore_color) && ReadInt(&tolerance))) { in Histogram() 184 if (ignore_color >= 0 && PixelsEqual(pixel, ignore_color, tolerance)) in Histogram()
|
D | image_util_bitmap_impl.py | 49 def GetColorHistogram(bitmap, ignore_color, tolerance): argument 50 return bitmap.ColorHistogram(ignore_color, tolerance)
|
/external/chromium-trace/catapult/telemetry/telemetry/util/ |
D | color_histogram_unittest.py | 79 bmp, ignore_color=rgba_color.RgbaColor(1, 2, 3)) 95 bmp, ignore_color=rgba_color.RgbaColor(0, 1, 2), tolerance=1) 114 bmp, ignore_color=rgba_color.RgbaColor(1, 2, 3))
|
D | image_util.py | 113 def GetColorHistogram(image, ignore_color=None, tolerance=0): argument 121 return impl.GetColorHistogram(image, ignore_color, tolerance)
|