TCA_CORRECT(1) HUGIN TCA_CORRECT(1)NAME
tca_correct - Calculate transverse chromatic aberration
SYNOPSIS
tca_correct [options] inputfile
<inputfile> is the base name of 4 image files:
<inputfile>
Colour file to compute TCA parameters
red_<inputfile>
Red channel of <inputfile>
green_<inputfile>
Green channel of <inputfile>
blue_<inputfile>
Blue channel of <inputfile>
The channel images must be colour images with 3 identical channels. If any of -R, -G, or -B is given, this file name is used instead of
the derived name.
Output: commandline arguments for fulla
DESCRIPTION
Generates fulla command-line parameters for correction of transverse chromatic aberration (TCA) from sample photos. Ideal sample photos
would have a lot of contrast over the entire image area, little saturated colour and no blown highlights.
OPTIONS -h Display help
-l input file is PTO file instead of image
-m method
optimization method (0 normal, 1 newfit)
-o optvars
string of variables to optimize ("abcvde")
-r Reset values (this will zero a,b,c,d,e params and set v to 10) makes sense only with -l option
-s <scale>
Scale for corner detection
-n <number>
number of points per grid cell (default: 10)
-g <number>
divide image in <number>x<number> grid cells (default: 10)
-t num
Remove all control points with an error higher than num pixels (default: 1.5)
-v Verbose
-w filename
write PTO file
-R <r>
Use this file as red channel
-G <g>
Use this file as green channel
-B <b>
Use this file as blue channel
AUTHORS
Written by Pablo d'Angelo and others.
"Version: 2011.4.0" 2011-12-02 TCA_CORRECT(1)
Check Out this Related Man Page
TIFF2BW(1) General Commands Manual TIFF2BW(1)NAME
tiff2bw - convert a color TIFF image to greyscale
SYNOPSIS
tiff2bw [ options ] input.tif output.tif
DESCRIPTION
Tiff2bw converts an RGB or Palette color TIFF image to a greyscale image by combining percentages of the red, green, and blue channels. By
default, output samples are created by taking 28% of the red channel, 59% of the green channel, and 11% of the blue channel. To alter
these percentages, the -R, -G, and -B options may be used.
OPTIONS -c Specify a compression scheme to use when writing image data: -c none for no compression, -c packbits for the PackBits compression
algorithm, -c zip for the Deflate compression algorithm, -c g3 for the CCITT Group 3 compression algorithm, -c g4 for the CCITT
Group 4 compression algorithm, and -c lzw for Lempel-Ziv & Welch (the default).
-r Write data with a specified number of rows per strip; by default the number of rows/strip is selected so that each strip is approxi-
mately 8 kilobytes.
-R Specify the percentage of the red channel to use (default 28).
-G Specify the percentage of the green channel to use (default 59).
-B Specify the percentage of the blue channel to use (default 11).
SEE ALSO pal2rgb(1), tiffinfo(1), tiffcp(1), tiffmedian(1), libtiff(3)
October 15, 1995 TIFF2BW(1)
In perl I want to do remove the top line of my input file then process the next line. I want to do something like
head -1 inputfile > temp
grep -v temp inputfile > newinputfile
cp newinputfile inputfle
is this possible in perl? (3 Replies)
inputfile:
A B C D
E F G H
1 2 3 4
-----------
I want to read these and put them into a variable:
file=../inputfile
col2line1=`cat $file | awk '{print $2}'`
how do i extract row 2's E,F,G,H or row 3's 1,2,3,4???
I tried the search, didn't get much, maybe i suck at searching too... (4 Replies)
Hi,
I am using sed and nawk command for replace/add/remove on file records.
But when I am using the inputfile name and directing output to the same inpu name file becomes empty.
I don't want to use to copy it to another file and move it back to original file.
Example:
sed 's/./,&/17'... (2 Replies)
i have just installed UNIX 7.01 to replace a windows server2003 used for my family to share and remotely save photos
i need to set it up so very novice users can view, import and export photos most of the remote users will have windows machines,i use Linux, Mac and windows.
most of what i want... (2 Replies)
Hi,
I have to read a file and translate the contents including substituting the variables if any and write to another file without using sed or awk.
For ex:-
inputfile.txt
-----------
servername=$SERVER
application=$APPL
outputfile.txt
------------
servername=actual server name... (2 Replies)
Hi,
I need to count number of '$' symbol in a file and assign it to a variable.
I am using below command.
grep -c '\$' inputfile
O/p:
10359
Its giving correct o/p but when I am assigning the same to a variable its giving completely different o/p.
ab1=`grep -c '\$' inputfile`
$... (3 Replies)
Hi All -
I am in need of some help in formating the below file
Requirement -
1) replace newlines with space
2) replace '#~# ' with newline
-----------------------
sample inputfile a
I|abc|abc|aaa#~#
I|sddddd|tya|dfg
sfd
ssss#~#
I|tya1|tya2|dfg|sfd|aaa#~#... (5 Replies)