vision.GammaCorrector
(To be removed) Apply or remove gamma correction from images or video streams
function will be removed in
a future release. Use the vision.GammaCorrectorimwarp function to apply a linear geometric
transformation to an image, instead.
Description
To apply gamma correction to input images or a video stream:
Create the
vision.GammaCorrectorobject and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Creation
Syntax
Description
returns
a gamma corrector object, gammaCorr = vision.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 = vision.GammaCorrector(Name,Value)gammaCorr =
vision.GammaCorrector('Correction','Gamma')
additionally sets the gammaCorr = vision.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 named obj, use
this syntax:
release(obj)

