Fifth commit

This commit is contained in:
lan daiqing
2022-07-28 21:35:42 +08:00
parent 3d78b6edb3
commit 493dc7062a
10 changed files with 93 additions and 122 deletions

View File

@@ -51,8 +51,11 @@ class modfifyImage():
x, y = plt.subplots(2, 2)
x.set_size_inches(10, 10)
y[0, 0].imshow(self.imageMatrix())
y[0, 1].imshow(red)
y[1, 0].imshow(green)
y[1, 1].imshow(blue)
# 图片保存
Image.fromarray(np.uint8(red)).save(root + 'picture1' + '.jpg')