imrotate is deprecated! imrotate is deprecated in SciPy 1.0.0, and will be removed in 1.2.0. Use skimage.transform.rotate instead.
plt.imshow(misc.imresize(cat,60))# 60%
改变图片的大小
imresize is deprecated! imresize is deprecated in SciPy 1.0.0, and will be removed in 1.2.0. Use skimage.transform.resize instead.
plt.imshow(misc.imfilter(cat,ftype='emboss'))# '''ftype : str
The filter that has to be applied. Legal values are:
'blur', 'contour', 'detail', 'edge_enhance', 'edge_enhance_more',
'emboss', 'find_edges', 'smooth', 'smooth_more', 'sharpen'.'''
out : 实现艺术效果----石雕
据说是通过卷积实现的
imfilter is deprecated! imfilter is deprecated in SciPy 1.0.0, and will be removed in 1.2.0. Use Pillow filtering functionality directly.