Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 7faa4cd12598db7d59564e3dc9a0913c > files > 215

vips-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_DIF_STD(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_dif_std - calculate the mean and the standard deviation of the difference
image for a given displacement vector 
<h2><a name='sect1' href='#toc1'>Synopsis</a></h2>
<b>#include &lt;vips/vips.h&gt;</b> 
<p> int
im_dif_std(im, xp, yp, xs, ys, dx, dy, mean, std) <br>
<b>IMAGE *im;</b> <br>
<b>int xp, yp, xs, ys;</b> <br>
<b>int dx, dy;</b> <br>
<b>double *mean, *std;</b> 
<p> 
<h2><a name='sect2' href='#toc2'>Description</a></h2>
<b>im_dif_std()</b> calculates the mean and the
standard deviation of the difference image created by the displacement
vector (dx,dy) on the box (xp,yp;xs,ys) defined on the image pointed by
im.  More specifically the difference image is of an image given the dispacement
vector (dx, dy) is defined as follows: For each point of the original image,
the start of the vector (dx,dy) is set on that point. The difference image
at this point is defined as the  difference of the values pointed by the
vector (end value - start value). The function returns the mean and the standard
deviation of the difference images measured on the area (xp,yp;xs,ys) of
im. 
<p> Input im should be one band unsigned char image and it should have
been set by a call to <a href='im_mmapin.3.html'>im_mmapin(3)</a>
 or <a href='im_setbuf.3.html'>im_setbuf(3)</a>
. 
<p> 
<h2><a name='sect3' href='#toc3'>Returned <a href='Values.3.html'>Values(3)</a>
</a></h2>
The
function returns 0 on success and -1 on error. 
<h2><a name='sect4' href='#toc4'>See&nbsp;Also</a></h2>
<a href='im_cooc_matrix.3.html'>im_cooc_matrix(3)</a>
,
<a href='im_glds_matrix.3.html'>im_glds_matrix(3)</a>
 
<h2><a name='sect5' href='#toc5'>Copyright</a></h2>
<br>
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'>Returned Values(3)</a></li>
<li><a name='toc4' href='#sect4'>SeeAlso</a></li>
<li><a name='toc5' href='#sect5'>Copyright</a></li>
<li><a name='toc6' href='#sect6'>Author</a></li>
</ul>
</body>
</html>