Sophie

Sophie

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

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_LRMERGE(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_lrmerge, im_tbmerge, im_lrsmerge, im_tbsmerge, im_lrmergeb, im_tbmergeb
- merges two images with a given dx and dy 
<h2><a name='sect1' href='#toc1'>Synopsis</a></h2>
#include &lt;vips/vips.h&gt; 
<p>
int im_lrmerge( ref, sec, out, dx, dy, mwidth ) <br>
IMAGE *ref, *sec, *out; <br>
int dx, dy; <br>
int mwidth; 
<p> int im_tbmerge( ref, sec, out, dx, dy, mwidth ) <br>
IMAGE *ref, *sec, *out; <br>
int dx, dy; <br>
int mwidth; 
<p> 
<h2><a name='sect2' href='#toc2'>Description</a></h2>
im_lrmerge() and im_tbmerge() merge the images
held by the image descriptors reference and secondary (ref and sec) according
to the values dx and dy. dx and dy give the displacement of sec relative
to ref.  The result is written on the image descriptor out.  The program
carries out a smooth merge using a raised cosine function.  Both work for
any image type, including LABPACK. 
<p> The functions treat pixels with the
value zero as "transparent", that is, zero pixels in the overlap area do
not contribute to the merge. This makes it possible to join non-rectangular
images. 
<p> The "mwidth" parameter limits the maximum width (or height) of
the blend area. A value of "-1" means "unlimited". All other negative values
are errors. 
<p> 
<h2><a name='sect3' href='#toc3'>Return Value</a></h2>
Both functions return 0 on success and -1 on error.

<h2><a name='sect4' href='#toc4'>See Also</a></h2>
<a href='im_lrmosaic.3.html'>im_lrmosaic(3)</a>
, <a href='im_tbmosaic.3.html'>im_tbmosaic(3)</a>
, <a href='im_match_linear.3.html'>im_match_linear(3)</a>
. <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>
</ul>
</body>
</html>