vision.GammaCorrector
Apply or remove gamma correction from images or video streams
Description
To apply gamma correction to input images or a video stream:
Create the
vision.GammaCorrector
object and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, seeWhat Are System Objects?
Creation
Syntax
Description
returns a gamma corrector object,gammaCorr
=愿景。GammaCorrectorgammaCorr
. You can use the gamma corrector to apply or remove gamma correction from images or video streams.
sets properties using one or more name-value pairs. Enclose each property name in quotes. For example,gammaCorr
=愿景。GammaCorrector(Name,Value
)gammaCorr =愿景。GammaCorrector ('Correction','Gamma')
additionally sets thegammaCorr
=愿景。GammaCorrector(gamma
,Name,Value
)Gamma
property.
Properties
Usage
Syntax
Description
Input Arguments
Output Arguments
Object Functions
To use an object function, specify the System object™ as the first input argument. For example, to release system resources of a System object namedobj
, use this syntax:
release(obj)