python将图像转化为矩阵

Image.fromarray(matrix).show()