<!-- manual page source format generated by PolyglotMan v3.2, --> <!-- available at http://polyglotman.sourceforge.net/ --> <html> <head> <title>IM_EYE(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_eye, im_feye - creates a pattern which shows the spatial response of the human visual system <h2><a name='sect1' href='#toc1'>Synopsis</a></h2> <b>#include <vips/vips.h></b> <p> <b>int im_eye(image, xsize, ysize, factor)</b> <br> <b>IMAGE *image;</b> <br> <b>int xsize, ysize;</b> <br> <b>double factor;</b> <p> <b>int im_feye(image, xsize, ysize, factor)</b> <br> <b>IMAGE *image;</b> <br> <b>int xsize, ysize;</b> <br> <b>double factor;</b> <p> <h2><a name='sect2' href='#toc2'>Description</a></h2> <b>im_feye()</b> creates an one band float image with pels in [-1,+1] of a pattern which has the following properties: <br> - the spatial frequency increases from left to right. <br> - the grey level intensity decreases from top to bottom. <br> The sizes of the produced image are determined by the entered arguments xsize and ysize. The variable factor which should be between 0 and 1, determines the number of maximum spatial frequencies present along the horizontal direction. <p> <b>im_eye()</b> behaves exactly as im_feye(), but scales the output to [0,255]. <p> <h2><a name='sect3' href='#toc3'>Return Value</a></h2> The function returns 0 on success and -1 on error. <h2><a name='sect4' href='#toc4'>See Also</a></h2> <a href='im_grey.3.html'>im_grey(3)</a> , <a href='im_zone.3.html'>im_zone(3)</a> . <h2><a name='sect5' href='#toc5'>Copyright</a></h2> N. Dessipris <h2><a name='sect6' href='#toc6'>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'>Return Value</a></li> <li><a name='toc4' href='#sect4'>See Also</a></li> <li><a name='toc5' href='#sect5'>Copyright</a></li> <li><a name='toc6' href='#sect6'>Author</a></li> </ul> </body> </html>