Chapter Contents

Previous

Next
Image Data Model: _gamma

Image Data Model: _gamma



Applies a gamma value to the image, either darkening or lightening the image


Syntax
Details
Example

Syntax

CALL SEND (object-id, '_gamma', gamma-value);

Argument Type Description
gamma-value
N the gamma value to be applied to the image


Details

Gamma values must be positive, with the most useful values ranging between 0.5 and 3.0. A gamma value of 1.0 does not change the image, while values less than 1.0 darken it and values greater than 1.0 lighten it.


Example

This example darkens an overexposed image:

call send (imgdat_id, '_gamma', 0.7);


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.