Sophie

Sophie

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

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_MAXPOS_VEC(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_maxpos_vec, im_minpos_vec - Find highest or lowest pixel values<br>
 
<h2><a name='sect1' href='#toc1'>Synopsis</a></h2>
<br>
<pre>#include &lt;vips/vips.h&gt;
int im_maxpos_vec( IMAGE *im, int *xpos, int *ypos, double *maxima, int
n );
int im_minpos_vec( IMAGE *im, int *xpos, int *ypos, double *minima, int
n );</pre>
<h2><a name='sect2' href='#toc2'></b>Description</a></h2>
<a href='im_maxpos_vec.3.html'><b>im_maxpos_vec(3)</b></a>
 fills the arrays  <i>xpos</i>  and  <i>ypos</i>  with
the x and y coordinates of the  <i>n</i>  pixels in the image <i>im</i>  which have the
highest values.  It writes those values (at double-precsion)  into the corresponding
elements in the array  <i>maxima</i>. <p>
If there is a draw for the  <i>n</i>th pixel, then
which of the drawing pixels is used is not defined. <p>
<a href='im_minpos_vec.3.html'><b>im_minpos_vec(3)</b></a>
 performs
the same operation, looking for the lowest valued pixels.  
<h2><a name='sect3' href='#toc3'>Return Value</a></h2>
The
functions returns 0 on success and -1 on error. 
<h2><a name='sect4' href='#toc4'>See Also</a></h2>
<a href='im_maxpos.3.html'>im_maxpos(3)</a>
, <a href='im_minpos.3.html'>im_minpos(3)</a>


<h2><a name='sect5' href='#toc5'>Copyright</a></h2>
<br>
Copyright 2006, The Nottingham Trent University. Copyright 2006, Tom Vajzovic.

<h2><a name='sect6' href='#toc6'>Author</a></h2>
Tom Vajzovic  
<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>