Sophie

Sophie

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

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>MATCH_LINEAR(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_match_linear_search, im_match_linear - resample to make a match 
<h2><a name='sect1' href='#toc1'>Synopsis</a></h2>

<p>
#include &lt;vips/vips.h&gt; 
<p> int <br>
im_match_linear( IMAGE *ref, IMAGE *sec, IMAGE *out, <br>
   int xr1, int yr1, int xs1, int ys1, <br>
 <br>
   int xr2, int yr2, int xs2, int ys2 )<br>
 
<p> int <br>
im_match_linear_search( IMAGE *ref, IMAGE *sec, IMAGE *out, <br>
   int xr1, int yr1, int xs1, int ys1, <br>
 <br>
   int xr2, int yr2, int xs2, int ys2,<br>
 <br>
   int hwindowsize, int hsearchsize )<br>
 
<p> 
<h2><a name='sect2' href='#toc2'>Description</a></h2>
im_match_linear_search() attempts to transform sec to make
it match ref. The transformation is linear, that is, it only involves scale,
rotate and translate. 
<p> im_match_linear_search() requires a pair of tie points
to fix the parameters of  its transformation. You should pick points as
far apart as possible to  increase accuracy. im_match_linear_search() will
search the area in the image  around each tie point for a good fit, so
your selection of points need not  be exact. WARNING! This searching process
will fail for rotations of more  than about 10 degrees or for scales of
more than about 10 percent. The best you can hope for is &lt; 1 pixel error,
since the command does not  attempt sub-pixel correlation.  
<p> hwindowsize
and hsearchsize set the size of the area to be searched: we recommend values
of 5 and 14. 
<p> The output image is positioned and clipped so that you can
immediately  subtract it from orig to obtain pixel difference images. 
<p> im_match_linear()
works exactly as im_match_linear_search(), but does not attempt to correlate
to correct your tie points. It can thus be used for any angle and any scale,
but you must be far more careful in your selection. 
<p> 
<h2><a name='sect3' href='#toc3'>See Also</a></h2>
im_lrmosaic().

<h2><a name='sect4' href='#toc4'>Authors</a></h2>
J.Ph.Laurent - 12/12/92 <br>
J.Cupitt - 22/02/93  <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'>Authors</a></li>
</ul>
</body>
</html>