CPCLEAN("1")

πŸ’… cpclean β€” HUGIN manual, section 1 πŸ’…

okay so this is the CPCLEAN("1") page from the HUGIN manual, and it’s honestly kinda iconic for cleaning up messy control points. bestie, let’s get into it πŸ’–

✨ NAME ✨

cpclean β€” removes wrong control points using statistical methods. no cap, that’s the whole vibe πŸŽ€

✨ SYNOPSIS ✨

cpclean [options] input.pto

✨ DESCRIPTION ✨

cpclean uses statistical methods to remove wrong control points. it’s giving β€œmath but make it useful” πŸ’…

  1. Step 1 optimises all images pairs, calculates the mean and standard deviation for each pair, and removes all control points with an error bigger than mean+n*sigma.
  2. Step 2 optimises the whole panorama, calculates the mean and standard deviation for all control points, and removes all control points with an error bigger than mean+n*sigma.

✨ OPTIONS ✨

  • --output, -o output.pto β€” writes the output Hugin PTO file. Default: <filename>_clean.pto πŸ’Ύ
  • --max-distance, -n num β€” distance factor for checking. Default: 2. cps with an error > mean + this factor*sigma will be removed. she’s strict but fair 🌸
  • --pairwise-checking, -p β€” do only image pair cp checking (skip step 2) 🫢
  • --whole-pano-checking, -w β€” do only whole panorama checking (skip step 1) 🌈
  • --dont-optimize, -s β€” skip optimisation step when checking the whole panorama ⭐
  • --check-line-cp, -l β€” also include line control points for calculation and filtering in step 2 πŸŽ€
  • --verbose, -v β€” verbose output during optimisation. she talks a lot, but it’s useful πŸ’¬
  • --help, -h β€” shows help πŸ™‹β€β™€οΈ

✨ AUTHORS ✨

Thomas Modes πŸ‘‘


This page is from HUGIN, version 2025.0.1, dated 2026-09-22 β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from