Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > c109337651527e96d7bb9adc83c5b18a > files > 127

libvips-devel-7.18.2-1mdv2010.0.i586.rpm

<!-- manual page source format generated by PolyglotMan v3.2, -->
<!-- available at http://polyglotman.sourceforge.net/ -->

<html>
<head>
<title>IM_ANDIMAGE(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_andimage, im_andconst, im_and_vec, im_orimage, im_orconst, im_or_vec,
im_eorimage, im_eorconst, im_eor_vec - boolean operations on unsigned char
images 
<h2><a name='sect1' href='#toc1'>Synopsis</a></h2>
<b>#include &lt;vips/vips.h&gt;</b> 
<p> <b>int im_andimage(a, b, out)</b> <br>
<b>IMAGE *a, *b, *out;</b> 
<p> <b>int im_andconst(a, out, c)</b> <br>
<b>IMAGE *a, *out;</b> <br>
<b>double c;</b> 
<p> <b>int im_and_vec(a, out, n, v)</b> <br>
<b>IMAGE *a, *out;</b> <br>
<b>int n;</b> <br>
<b>double *v;</b> 
<p> <b>int im_orimage(a, b, out)</b> <br>
<b>IMAGE *a, *b, *out;</b> 
<p> <b>int im_orconst(a, out, c)</b> <br>
<b>IMAGE *a, *out;</b> <br>
<b>double c;</b> 
<p> <b>int im_or_vec(a, out, n, v)</b> <br>
<b>IMAGE *a, *out;</b> <br>
<b>int n;</b> <br>
<b>double *v;</b> 
<p> <b>int im_eorimage(a, b, out)</b> <br>
<b>IMAGE *a, *b, *out;</b> 
<p> <b>int im_eorconst(a, out, c)</b> <br>
<b>IMAGE *a, *out;</b> <br>
<b>double c;</b> 
<p> <b>int im_eor_vec(a, out, n, v)</b> <br>
<b>IMAGE *a, *out;</b> <br>
<b>int n;</b> <br>
<b>double *v;</b> 
<p> 
<h2><a name='sect2' href='#toc2'>Description</a></h2>
Perform bitwise logical operations on integer images.

<p> <a href='im_andimage.3.html'><b>im_andimage(3)</b></a>
 performs bitwise and between corresponding pixels in a
and b, writing the result to out.  Both images must be the same size and
have the same number of bands.  They can have any integer type. 
<p> <a href='im_andconst.3.html'><b>im_andconst(3)</a>

</b> performs bitwise and between pixels in a and a single  constant value.
 <a href='im_and_vec.3.html'><b>im_and_vec(3)</a>
 </b> lets you specify n constants, one per band. 
<p> <a href='im_orimage.3.html'><b>im_orimage(3)</a>

</b> and  <a href='im_eorimage.3.html'><b>im_eorimage(3)</a>
 </b> behave similarly. Use im_eorconst( in, out, -1 ) or
 <a href='im_invert.3.html'><b>im_invert(3)</a>
 </b> as a not operator. 
<p> 
<h2><a name='sect3' href='#toc3'>Return Value</a></h2>
All functions return 0 on
success and -1 on error. 
<h2><a name='sect4' href='#toc4'>See Also</a></h2>
<a href='im_ifthenelse.3.html'>im_ifthenelse(3)</a>
, <a href='im_equal.3.html'>im_equal(3)</a>
. 
<h2><a name='sect5' href='#toc5'>Copyright</a></h2>
National
Gallery, 1992 
<h2><a name='sect6' href='#toc6'>Author</a></h2>
J. Cupitt  
<p> <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>