原图如下:
1. 保存图片对象
img_s.save(os.path.join("/home/wanglin/PycharmProjects/data_test/data/Train400/original.jpg"))
2.保存图片numpy数组,但是会改变图片的颜色
cv2.imwrite(os.path.join("/home/wanglin/PycharmProjects/data_test/data/Train400/original.jpg" ), img)
3.保存图片数组,不会改变图片颜色
import scipy.misc
scipy.misc.imsave('/home/wanglin/PycharmProjects/data_test/data/Train400/original.jpg', img)