我想转换加载的图像
TestPicture = cv2.imread("flowers.jpg")
Run Code Online (Sandbox Code Playgroud)
我想在示例https://wellfire.co/learn/python-image-enhancements上运行PIL过滤器(http://pillow.readthedocs.io/en/4.0.x/reference/ImageFilter.html)/与变量
TestPicture
Run Code Online (Sandbox Code Playgroud)
但是我无法将其转换回来并且在这些类型之间排在第四位.
有没有办法做这个转换?
opencv可以执行PIL包中的所有图像过滤器吗?
python opencv image-processing type-conversion python-imaging-library