- OpenCV 3 Computer Vision with Python Cookbook
- Alexey Spizhevoy Aleksandr Rybnikov
- 62字
- 2021-08-27 19:47:42
How it works...
Gamma correction is a non-linear operation that adjusts image pixel intensities. The operation is represented through the power-law relationship between input and output pixel values: . The values with an exponent coefficient higher than 1 make the image darker, while the values less than 1 make the image brighter.
The following output is expected for the preceding code:
![](https://epubservercos.yuewen.com/34A43F/19470396008899506/epubprivate/OEBPS/Images/1fa7a7cb-5aa1-4357-a27e-8c6e81f1177d.png?sign=1739516054-KKXnR2FBJbqtTKmJi68i5ibhHmySM14Y-0-1228e2d41e3191f10e7497adc743b4e4)