Home
last modified time | relevance | path

Searched refs:ignore_color (Results 1 – 6 of 6) sorted by relevance

/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dimage_util_numpy_impl.py153 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.py64 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)
Dbitmaptools.cc170 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()
Dimage_util_bitmap_impl.py49 def GetColorHistogram(bitmap, ignore_color, tolerance): argument
50 return bitmap.ColorHistogram(ignore_color, tolerance)
/external/chromium-trace/catapult/telemetry/telemetry/util/
Dcolor_histogram_unittest.py79 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))
Dimage_util.py113 def GetColorHistogram(image, ignore_color=None, tolerance=0): argument
121 return impl.GetColorHistogram(image, ignore_color, tolerance)