im_gammacorrect(3)

im_gammacorrect3

Carry out gamma correction

Usage

#include <vips/vips.h>

int im_gammacorrect(in, out, exponent)
IMAGE *in, *out;
double exponent;

Overview

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.

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

Author

N. Dessipris - 10/05/1991

From libvips-dev 7.20.7-1+b3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.