Fifth commit
This commit is contained in:
@@ -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')
|
||||
|
Reference in New Issue
Block a user