LIGHT_CORRECT(1) General Commands Manual LIGHT_CORRECT(1)NAME
light_correct - correct illumination errors on set of images
SYNOPSIS
light_correct grey image1 image2 image3 ...
DESCRIPTION
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_".
For example, suppose you have a directory with the following files in:
example% ls
dat1.1.v dat1.2.v dat2.1.v dat2.2.v dat3.1.v dat3.2.v
dat4.1.v dat4.2.v grey.v
then run light_correct like this:
example% light_correct grey.v dat*.v
to generate this:
example% ls
dat1.1.v dat1.2.v dat2.1.v dat2.2.v dat3.1.v dat3.2.v
dat4.1.v dat4.2.v grey.v
ic_dat1.1.v ic_dat1.2.v ic_dat2.1.v ic_dat2.2.v ic_dat3.1.v
ic_dat3.2.v ic_dat4.1.v ic_dat4.2.v
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 im_global_balance(3).
RETURN VALUE
returns 0 on success and non-zero on error.
SEE ALSO header(1), vips(1)COPYRIGHT
The National Gallery and Birkbeck College, 1989-1996.
14 Oct 1996 LIGHT_CORRECT(1)
Check Out this Related Man Page
vinvert(1Vi)vinvert(1Vi)NAME
vinvert - invert image pixel values
SYNOPSIS
vinvert [option ...] [infile] [outfile]
DESCRIPTION
vinvert inverts each input image to produce a corresponding output image. The operation is suitable for swapping black and white in a grey-
scale image.
Each output pixel is computed from the corresponding input pixel by
out-pixel = M - in-pixel
where M is the maximum value allowed by the pixel representation, or 1 in the case of float or double pixels. Input pixel values must lie
in the range [0,M].
Each output image has the same number of bands, rows and columns, and the same pixel representation, as the corresponding input image.
COMMAND LINE OPTIONS
vinvert accepts the following options:
-help Prints a message describing options.
-in infile Specifies a Vista data file containing the input images.
-out outfile Specifies where to write the output images as a Vista data file.
Input and output files can be specified on the command line or allowed to default to the standard input and output streams.
SEE ALSO vnegate(1Vi), vop(1Vi), VImage(3Vi), Vista(7Vi)AUTHOR
Art Pope <pope@cs.ubc.ca>
Vista Version 1.12 24 April 1993 vinvert(1Vi)
Man Page
7 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Sigs appear to be turned on, yet no ones shows up? What's the deal? Also I like sigs they help you distinguish between and remember people when all you have to know someone by is a little grey box. Therefor if they are intentionally turned off I "suggest" they be turned back on because I think they... (1 Reply)
Hi experts..
I am trying to write a shell script which will scan a log file for three strings ie success image1, success image2, success image3.
My shell is tcsh
If all the 3 strings are found then insert the 3 strings to a file1 and send mail to developers with file1
If all 3 are note... (0 Replies)
I've got this problem. My computers and external hard drives are converting many of my files to a Unix Executable File which has a grey terminal looking icon. I don't understand what is causing this to happen. It is happening to a large number of my image file of different formats and also... (1 Reply)
Hi folks,
I have a input.file with the following contents:-
flor
geor
enta
vpal
domi
pegl
cars
mted
four
rose
annc
gabi
ward
dalv
elph
beac (8 Replies)
I have two variables. I need to call them using the same function
my $dat1 ="abc";
my $dat2 ="def";
my $check;
filecheck($dat1,$dat2);
sub filecheck($)
{
$check = shift;
print "first name is $check\n";
}
print "this is fine\n";
sub filecheck($)
{
$check = shift;
print "second... (2 Replies)