PTOCLEAN(1)
π PTOCLEAN(1) π
okay bestie, you're in the User Contributed Perl Documentation corner of the man pages, and this one's a baddie. it's called ptoclean, and no cap, it's here to prune improbable control points. yes, literally.
β¨ NAME β¨
ptoclean β prune improbable control points π
π¦ SYNOPSIS π¦
ptoclean [options] --output better.pto notgood.pto
here's the whole options menu, bestie, every single one:
-o|--outputβ the filename of the pruned project that comes out the other side. lowkey iconic detail: it can be the same as the input, so you can just vibe in place π-n|--amountβ the distance factor for pruning, and the default is2β¨-f|--fastβ don't run the optimiser for each image pair (it's giving APClean energy, if you know you know)-v|--verboseβ report some statistics, for the nosy girlies π-h|--helpβ outputs help documentation, the classic π«Ά
πΈ DESCRIPTION πΈ
so ptoclean takes a hugin .pto project and removes inconsistent control-points. the way it does this is honestly so smart: it calculates the average error distance and the standard deviation (Sigma), and then it removes any points whose error distance is greater than the average by n * sigma. that pruning happens on each pair of images in turn, and then finally on the project as a whole. periodt. π
and like, additionally, the autooptimiser tool is run on each pair of images separately before each calculation β which means your project does not need to be 'nearly aligned' beforehand. slay, no prep required.
NOTE: okay so even though optimisation plays a part in the pruning process, the output project is exactly the same as the input except with 'bad' points removed. so you probably want to optimise the geometry of this project withhuginorautooptimiserafterward. don't skip that step bestie, it's the main character of the workflow. π
this tool is heavily inspired by APClean, a similar tool for PTGui project files by Fulvio Senore. and if you want a similar behaviour to APClean without the optimisation steps, just use the --fast option. easy. π¦
π LICENSE π
this program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
π SEE ALSO π
π AUTHOR π
Bruno Postle β August 2008.
and that's the whole vibe, bestie. this page was living in perl v5.42.0 land, dated 2025-07-25, and honestly? iconic of it. go prune some control points, you've got this πβ¨π
π¦ where this page comes from
- fedora 43: perl-Panotools-Script 0.29-20.fc43 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms