.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "TCA_CORRECT ""1""" .TH TCA_CORRECT """1""" 2024-03-20 """Version: 2023.0.0""" HUGIN .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME tca_correct \- Calculate transverse chromatic aberration .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBtca_correct\fR [options] \fIinputfile\fR .PP is the base name of 4 image files: .IP 4 .IX Item "" Colour file to compute TCA parameters .IP red_ 4 .IX Item "red_" Red channel of .IP green_ 4 .IX Item "green_" Green channel of .IP blue_ 4 .IX Item "blue_" Blue channel of .PP 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. .PP Output: commandline arguments for fulla .SH DESCRIPTION .IX Header "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. .SH OPTIONS .IX Header "OPTIONS" .IP \fB\-h\fR 4 .IX Item "-h" Display help .IP \fB\-l\fR 4 .IX Item "-l" input file is PTO file instead of image .IP "\fB\-m\fR \fImethod\fR" 4 .IX Item "-m method" optimization method (0 normal, 1 newfit) .IP "\fB\-o\fR \fIoptvars\fR" 4 .IX Item "-o optvars" string of variables to optimize ("abcvde") .IP \fB\-r\fR 4 .IX Item "-r" Reset values (this will zero a,b,c,d,e params and set v to 10) makes sense only with \-l option .IP "\fB\-s\fR \fI" 4 .IX Item "-s " Scale for corner detection .IP "\fB\-n\fR \fI" 4 .IX Item "-n " number of points per grid cell (default: 10) .IP "\fB\-g\fR \fI" 4 .IX Item "-g " divide image in x grid cells (default: 10) .IP "\fB\-t\fR \fInum\fR" 4 .IX Item "-t num" Remove all control points with an error higher than num pixels (default: 1.5) .IP \fB\-v\fR 4 .IX Item "-v" Verbose .IP \fB\-\-save\-into\-database\fR 4 .IX Item "--save-into-database" Saves the tca data into Hugin lens database .IP "\fB\-w\fR \fIfilename\fR" 4 .IX Item "-w filename" write PTO file .IP "\fB\-R\fR \fI" 4 .IX Item "-R " Use this file as red channel .IP "\fB\-G\fR \fI" 4 .IX Item "-G " Use this file as green channel .IP "\fB\-B\fR \fI" 4 .IX Item "-B " Use this file as blue channel .SH AUTHORS .IX Header "AUTHORS" Written by Pablo d'Angelo and others.