1GAMMA(3)                   Library Functions Manual                   GAMMA(3)
2
3
4

NAME

6       im_gammacorrect - carry out gamma correction
7

SYNOPSIS

9       #include <vips/vips.h>
10
11       int im_gammacorrect(in, out, exponent)
12       IMAGE *in, *out;
13       double exponent;
14
15

DESCRIPTION

17       im_gammacorrect performs gamma correction to in.  The result in written
18       in out.  The correction is carried out by creating a lookup table using
19       the double exponent and mapping in through it.  The exponent is applied
20       on a ramp lut and the resultant lut is scaled.  All channels of im  are
21       mapped through the lookup table.
22

SEE ALSO

24       im_histgr(3), im_heq(3), im_histeq(3), im_identity(3), im_maplut(3)
25
27       N. Dessipris
28

AUTHOR

30       N. Dessipris - 10/05/1991
31
32
33
34                                  10 May 1991                         GAMMA(3)
Impressum