Sophie

Sophie

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

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>LIGHT_CORRECT(1) manual page</title>
</head>
<body bgcolor='white'>
<a href='#toc'>Table of Contents</a><p>

<h2><a name='sect0' href='#toc0'>Name</a></h2>
light_correct - correct illumination errors on set of images 
<h2><a name='sect1' href='#toc1'>Synopsis</a></h2>
<b>light_correct
grey image1 image2 image3 ...</b> 
<h2><a name='sect2' href='#toc2'>Description</a></h2>
The first argument should be an image
of a piece of grey card, subsequent arguments should be images taken with
the same lighting set-up which need correcting. The corrected images are
written to files prefixed with "ic_".  
<p> For example, suppose you have a
directory with the following files in: 
<p>   example% ls<br>
   dat1.1.v dat1.2.v dat2.1.v dat2.2.v dat3.1.v dat3.2.v<br>
   dat4.1.v dat4.2.v grey.v<br>
 
<p> then run light_correct like this: 
<p>   example% light_correct grey.v dat*.v<br>
 
<p> to generate this: 
<p>   example% ls<br>
   dat1.1.v dat1.2.v dat2.1.v dat2.2.v dat3.1.v dat3.2.v<br>
   dat4.1.v dat4.2.v grey.v<br>
   ic_dat1.1.v ic_dat1.2.v ic_dat2.1.v ic_dat2.2.v ic_dat3.1.v<br>
   ic_dat3.2.v ic_dat4.1.v ic_dat4.2.v<br>
 
<p> light_correct works by smoothing out the grey card image, finding grey-mean/pixel
for each point, and then multiplying the result by all the following images.
It also removes any .desc files it generates, to avoid problems with <a href='im_global_balance.3.html'>im_global_balance(3)</a>
.

<p> 
<h2><a name='sect3' href='#toc3'>Return Value</a></h2>
returns 0 on success and non-zero on error. 
<h2><a name='sect4' href='#toc4'>See Also</a></h2>
<a href='header.1.html'>header(1)</a>
,
<a href='vips.1.html'>vips(1)</a>
 
<h2><a name='sect5' href='#toc5'>Copyright</a></h2>
The National Gallery and Birkbeck College, 1989-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>