Python 读取图片文件为矩阵和保存矩阵为图片的方法 读取图片为矩阵importmatplotlibim=matplotlib.image.imread('0_0.jpg')保存矩阵为图片importnumpyasnpimportscip python读取图片为矩阵