Home
last modified time | relevance | path

Searched refs:rgb_to_hsv (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/tests/ut/python/dataset/
Dtest_rgb_hsv.py43 colorsys.rgb_to_hsv(
68 colorsys.rgb_to_hsv(
93 np.vectorize(colorsys.rgb_to_hsv)(
116 np.vectorize(colorsys.rgb_to_hsv)(
/third_party/python/Lib/test/
Dtest_colorsys.py25 colorsys.hsv_to_rgb(*colorsys.rgb_to_hsv(*rgb))
42 self.assertTripleEqual(hsv, colorsys.rgb_to_hsv(*rgb))
/third_party/python/Doc/library/
Dcolorsys.rst50 .. function:: rgb_to_hsv(r, g, b)
62 >>> colorsys.rgb_to_hsv(0.2, 0.4, 0.4)
/third_party/gettext/libtextstyle/gnulib-local/lib/
Dterm-ostream.oo.c90 rgb_to_hsv (rgb_t c, hsv_t *result) in rgb_to_hsv() function
206 rgb_to_hsv (given, &given_hsv); in nearest_color()
214 rgb_to_hsv (table[i], &i_hsv); in nearest_color()
230 rgb_to_hsv (table[best_index], &best_hsv); in nearest_color()
309 rgb_to_hsv (color, &hsv); in rgb_to_color_common8()
367 rgb_to_hsv (color, &hsv); in rgb_to_color_xterm8()
415 rgb_to_hsv (color, &hsv); in rgb_to_color_xterm16()
541 rgb_to_hsv (color, &hsv); in rgb_to_color_xterm88()
853 rgb_to_hsv (color, &hsv); in rgb_to_color_xterm256()
/third_party/python/Lib/
Dcolorsys.py125 def rgb_to_hsv(r, g, b): function
/third_party/mindspore/tests/st/model_zoo_tests/yolov3/src/
Ddataset.py21 from matplotlib.colors import rgb_to_hsv, hsv_to_rgb
217 x = rgb_to_hsv(image_data)
/third_party/mindspore/mindspore/dataset/vision/
Dpy_transforms_util.py1291 def rgb_to_hsv(np_rgb_img, is_hwc): function
1306 to_hsv = np.vectorize(colorsys.rgb_to_hsv)
1357 return rgb_to_hsv(np_rgb_imgs, is_hwc)
1358 return np.array([rgb_to_hsv(img, is_hwc) for img in np_rgb_imgs])
/third_party/gettext/gnulib-local/
DChangeLog.01231 (rgb_to_hsv, color_distance, nearest_color, color_luminance): New