2019年4月11日

python中用Pillow库进行图片处理

摘要: PIL:PIL.Image.open PIL即Python Imaging Library,也即为我们所称的Pillow,是一个很流行的图像库,它比opencv更为轻巧,正因如此,它深受大众的喜爱。 一、图片读取 PIL读进来的图像是一个对象,而不是我们所熟知的numpy 矩阵。 显示效果: 二、灰 阅读全文

posted @ 2019-04-11 00:44 shinawear-- 阅读(2312) 评论(0) 推荐(0)

导航