TIM*_*MEX 9 python algorithm image python-imaging-library
只需简单的对比度和饱和度增强.没有什么花哨.
jco*_*ctx 23
由于PIL在很大程度上是死的.改为安装Pillow fork sudo pip install pillow
,并使用其ImageEnhance模块http://pillow.readthedocs.org/en/3.0.x/reference/ImageEnhance.html
>>> from PIL import Image, ImageEnhance
>>> image = Image.open('downloads/jcfeb2011.jpg')
>>> contrast = ImageEnhance.Contrast(image)
>>> image.show()
Run Code Online (Sandbox Code Playgroud)
>>> contrast.enhance(2).show()
Run Code Online (Sandbox Code Playgroud)