<!-- manual page source format generated by PolyglotMan v3.2, --> <!-- available at http://polyglotman.sourceforge.net/ --> <html> <head> <title>GAMMA(3) manual page</title> </head> <body bgcolor='white'> <a href='#toc'>Table of Contents</a><p> <h2><a name='sect0' href='#toc0'>Name</a></h2> im_gammacorrect - carry out gamma correction <h2><a name='sect1' href='#toc1'>Synopsis</a></h2> #include <vips/vips.h> <p> int im_gammacorrect(in, out, exponent) <br> IMAGE *in, *out; <br> double exponent; <p> <h2><a name='sect2' href='#toc2'>Description</a></h2> 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. <h2><a name='sect3' href='#toc3'>See Also</a></h2> <a href='im_histgr.3.html'>im_histgr(3)</a> , <a href='im_heq.3.html'>im_heq(3)</a> , <a href='im_histeq.3.html'>im_histeq(3)</a> , <a href='im_identity.3.html'>im_identity(3)</a> , <a href='im_maplut.3.html'>im_maplut(3)</a> <h2><a name='sect4' href='#toc4'>Copyright</a></h2> N. Dessipris <h2><a name='sect5' href='#toc5'>Author</a></h2> N. Dessipris - 10/05/1991 <p> <hr><p> <a name='toc'><b>Table of Contents</b></a><p> <ul> <li><a name='toc0' href='#sect0'>Name</a></li> <li><a name='toc1' href='#sect1'>Synopsis</a></li> <li><a name='toc2' href='#sect2'>Description</a></li> <li><a name='toc3' href='#sect3'>See Also</a></li> <li><a name='toc4' href='#sect4'>Copyright</a></li> <li><a name='toc5' href='#sect5'>Author</a></li> </ul> </body> </html>