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 an image.
 

Public Attributes

 gamma
 

Detailed Description

A class for performing gamma correction on images.

Definition at line 16 of file gammaCorrector.py.

Constructor & Destructor Documentation

◆ __init__()

gammaCorrector.GammaCorrector.__init__ (   self,
  gamma 
)

Constructor for GammaCorrector.

Parameters
gammaThe gamma value for correction.

Definition at line 26 of file gammaCorrector.py.

Member Function Documentation

◆ gamma_correction()

gammaCorrector.GammaCorrector.gamma_correction (   self,
  image 
)

Applies gamma correction to an image.

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

Definition at line 37 of file gammaCorrector.py.

Member Data Documentation

◆ gamma

gammaCorrector.GammaCorrector.gamma

Definition at line 28 of file gammaCorrector.py.


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