A class for performing gamma correction on images.
More...
|
| __init__ (self, gamma) |
| Constructor for GammaCorrector.
|
|
| gamma_correction (self, image) |
| Applies gamma correction to the image by certain equations.
|
|
A class for performing gamma correction on images.
◆ __init__()
gammaCorrector.GammaCorrector.__init__ |
( |
|
self, |
|
|
|
gamma |
|
) |
| |
Constructor for GammaCorrector.
- Parameters
-
gamma | The gamma value for correction. |
◆ gamma_correction()
gammaCorrector.GammaCorrector.gamma_correction |
( |
|
self, |
|
|
|
image |
|
) |
| |
Applies gamma correction to the image by certain equations.
- Parameters
-
image | The image to be gamma corrected. |
- Returns
- Gamma corrected image.
The documentation for this class was generated from the following file: