Lines Matching refs:rgb
468 rgb = numpy.empty([h, w, 3], dtype=numpy.uint8)
469 rgb.reshape(w * h * 3)[:] = flt.reshape(w * h * 3)[:]
470 return rgb.astype(numpy.float32) / 255.0
641 rgb = decompress_jpeg_to_rgb_image(cap['data']).reshape(w * h * 3)
642 return (rgb[::3].reshape(h, w, 1), rgb[1::3].reshape(h, w, 1),
643 rgb[2::3].reshape(h, w, 1))
845 rgb = numpy.empty([h, w, 3], dtype=numpy.uint8)
846 rgb.reshape(w * h * 3)[:] = y3.reshape(w * h * 3)[:]
847 return rgb.astype(numpy.float32) / 255.0
1503 colour.models.rgb.datasets.display_p3.RGB_COLOURSPACE_DISPLAY_P3.whitepoint,
1504 colour.models.rgb.datasets.display_p3.RGB_COLOURSPACE_DISPLAY_P3.whitepoint,
1505 colour.models.rgb.datasets.display_p3.RGB_COLOURSPACE_DISPLAY_P3.matrix_RGB_to_XYZ,