📜  将图像转换为 rgb python 代码示例

📅  最后修改于: 2022-03-11 14:45:38.693000             🧑  作者: Mango

代码示例1
rgb = np.zeros((img.shape[0], img.shape[1], 3))
rgb[:,:,0] = img
rgb[:,:,1] = img
rgb[:,:,2] = img