TCA_CORRECT("1")
β¨ NAME β¨
okay so this is tca_correct from the HUGIN gang β it calculates transverse chromatic aberration π
no cap, that's the whole job.
π SYNOPSIS π
tca_correct [options] inputfile
bestie listen, <inputfile> is not one file, it's the base name for 4 image files, and you gotta know all of them:
<inputfile>β the colour file you're computing TCA parameters from πred_<inputfile>β the red channel of<inputfile>green_<inputfile>β the green channel of<inputfile>blue_<inputfile>β the blue channel of<inputfile>
k so the channel images must be colour images with 3 identical channels, fr fr, that's non-negotiable.
but likeβ¦ if you pass any of -R, -G, or -B, then that file name gets used instead of the derived name. so you can override the whole name situation. iconic behaviour honestly π«Ά
Output: commandline arguments for fulla π
π¦ DESCRIPTION π¦
so what does it actually do? it generates fulla command-line parameters for correction of transverse chromatic aberration (TCA) from sample photos. that's the vibe.
and if you wanna know what makes a good sample photo β the dream scenario would be one with a lot of contrast over the entire image area, little saturated colour, and no blown highlights. lowkey picky but honestly she's right π
π OPTIONS π
-hβ display help, the classic. always start here bestie π-lβ the input file is a PTO file instead of an image, plot twist-mmethod β optimization method (0normal,1newfit). pick your fighter β¨-ooptvars β string of variables to optimize ("abcvde"). yes that exact string, character for character π₯-rβ reset values (this will zeroa,b,c,d,eparams and setvto10) β and heads up, this only makes sense with the-loption β οΈ-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)-tnum β remove all control points with an error higher than num pixels (default:1.5)-vβ verbose. she talks more. we love her for it π¬--save-into-databaseβ saves the tca data into Hugin lens database π-wfilename β 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
quick reminder: those-R/-G/-Bones are the file names that replace the derivedred_/green_/blue_names β don't forget or you'll be confused later, iykyk π
πΈ AUTHORS πΈ
written by Pablo d'Angelo and others π absolute legends, all of them.
and that's the tea, bestie π this was Version: 2025.0.1, dated 2026-09-22 β go forth and de-aberrate those transverses π β¨
π¦ where this page comes from
- arch rolling: hugin 2025.0.1-5 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms