PBL4_2
|
A class for performing gamma correction on images. More...
Public Member Functions | |
__init__ (self, gamma) | |
Constructor for GammaCorrector. | |
gamma_correction (self, image) | |
Applies gamma correction to an image. | |
Public Attributes | |
gamma | |
A class for performing gamma correction on images.
Definition at line 16 of file gammaCorrector.py.
gammaCorrector.GammaCorrector.__init__ | ( | self, | |
gamma | |||
) |
Constructor for GammaCorrector.
gamma | The gamma value for correction. |
Definition at line 26 of file gammaCorrector.py.
gammaCorrector.GammaCorrector.gamma_correction | ( | self, | |
image | |||
) |
Applies gamma correction to an image.
image | The image to be gamma corrected. |
Definition at line 37 of file gammaCorrector.py.
gammaCorrector.GammaCorrector.gamma |
Definition at line 28 of file gammaCorrector.py.