PBL4_2
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
gammaCorrector.GammaCorrector Class Reference

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 the image by certain equations.
 

Public Attributes

 gamma
 

Detailed Description

A class for performing gamma correction on images.

Constructor & Destructor Documentation

◆ __init__()

gammaCorrector.GammaCorrector.__init__ (   self,
  gamma 
)

Constructor for GammaCorrector.

Parameters
gammaThe gamma value for correction.

Member Function Documentation

◆ gamma_correction()

gammaCorrector.GammaCorrector.gamma_correction (   self,
  image 
)

Applies gamma correction to the image by certain equations.

Parameters
imageThe image to be gamma corrected.
Returns
Gamma corrected image.

The documentation for this class was generated from the following file: