Sophie

Sophie

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

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_RECOMB(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_recomb - matrix recombination of image 
<h2><a name='sect1' href='#toc1'>Synopsis</a></h2>
#include &lt;vips/vips.h&gt;

<p> int im_recomb(imagein, imageout, mat) <br>
IMAGE *imagein, *imageout; <br>
DOUBLEMASK *mat; 
<p> 
<h2><a name='sect2' href='#toc2'>Description</a></h2>
im_recomb() recombines the elements of an
m band image to form an n band image using mat, an m by n matrix of floating
point numbers. 
<p> It calculates  
<p>   A = B x C<br>
 
<p> where A is an n band output image, C is an m band input image and B is
an m by n matrix of floats. Can be used with a 3 by 3 matrix to perform
simple colour space transforms; 7 by 30 matrix to shrink 3rd order development
of 3 filter system to XYZ etc. 
<p> The output type is float unless the input
type is double, in which case the output type is double. It does not work
for complex image types. All intermediates are calculated as double.  Note
that the width of the matrix should be equal to the number of bands in
the input image. 
<p> 
<h2><a name='sect3' href='#toc3'>Return 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_read_dmask.3.html'>im_read_dmask(3)</a>
, <a href='im_matinv.3.html'>im_matinv(3)</a>
, <a href='im_lintra.3.html'>im_lintra(3)</a>
 
<h2><a name='sect5' href='#toc5'>Copyright</a></h2>
National
Gallery and Birkbeck College, 1990 - 1996 <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>
</ul>
</body>
</html>