Sophie

Sophie

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

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_PROJECT(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_project - find horizontal and vertical projections 
<h2><a name='sect1' href='#toc1'>Synopsis</a></h2>
#include
&lt;vips/vips.h&gt; 
<p> int im_project(IMAGE *in, IMAGE *hout, IMAGE *vout) 
<p> 
<h2><a name='sect2' href='#toc2'>Description</a></h2>
<a href='im_project.3.html'><b>im_project(3)</a>

</b> finds the horizontal and vertical projections of an image, that is, the
sum of each row and the sum of each column. 
<p> The  <b>hout</b> result image is 1
x in-&gt;Ysize pixels, where each pixel is the sum of all the pixels in that
row of the input image. The  <b>vout</b> result image is in-&gt;Xsize x 1 pixels, where
each pixel is the sum of all the pixels in that column of the input image.

<p> The output images are of the largest appropriate type for the input image:
so  unsigned integer images produce UINT output, and so on. The output images
have the same number of bands as the input. 
<p> The operation does not work
for complex images, or for coded images. 
<p> 
<h2><a name='sect3' href='#toc3'>Returned Value</a></h2>
The function returns
0 on success and -1 on error. 
<h2><a name='sect4' href='#toc4'>See Also</a></h2>
<a href='im_histplot.3.html'>im_histplot(3)</a>
, <a href='im_histnorm.3.html'>im_histnorm(3)</a>
, <a href='im_extract.3.html'>im_extract(3)</a>
.

<h2><a name='sect5' href='#toc5'>Copyright</a></h2>
Imperial College, 2006 <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 Value</a></li>
<li><a name='toc4' href='#sect4'>See Also</a></li>
<li><a name='toc5' href='#sect5'>Copyright</a></li>
</ul>
</body>
</html>