libvips/man/im_gammacorrect.3

25 lines
681 B
Groff
Raw Normal View History

2007-08-29 18:23:50 +02:00
.TH GAMMA 3 "10 May 1991"
.SH NAME
im_gammacorrect \- carry out gamma correction
.SH SYNOPSIS
#include <vips/vips.h>
int im_gammacorrect(in, out, exponent)
.br
IMAGE *in, *out;
.br
double exponent;
.SH DESCRIPTION
im_gammacorrect performs gamma correction to in. The result in written in out.
The correction is carried out by creating a lookup table using the double
exponent and mapping in through it. The exponent is applied on a ramp lut and
the resultant lut is scaled. All channels of im are mapped through the lookup
table.
.SH SEE ALSO
im_histgr(3), im_heq(3), im_histeq(3), im_identity(3), im_maplut(3)
.SH COPYRIGHT
N. Dessipris
.SH AUTHOR
N. Dessipris \- 10/05/1991