📜  numpy 空图像 - Python 代码示例

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

代码示例1
import numpy as np
img = np.zeros([100,100,3],dtype=np.uint8)
img.fill(255) # or img[:] = 255

# from https://stackoverflow.com/questions/10465747/how-to-create-a-white-image-in-python/10470485