Learn Before
Concept
ImageEnhance (Pillow)
Pillow contains the ImageEnhance module, which contains a number of classes that allow for image enhancing. In particular, these classes allow for changing the color balance, contrast, brightness, and sharpness of an image. After creating an image enhancing object from an image, the enhance() function can be called on it with the enhancement factor as an argument. This will return the enhanced image. A factor of 1.0 returns the original image.
image = enhanceobject.enhance(factor)
0
1
Updated 2021-08-07
Tags
Python Programming Language
Data Science