HUGIN_STACKER("1")

πŸ’– NAME πŸ’–

okay so hugin_stacker β€” it's a manual page from HUGIN (yes, HUGIN_STACKER("1"), that's the whole vibe) and what it does is literally stack overlapping images into one single image. bestie, it stacks. overlapping images. into a single image. 🫢


✨ SYNOPSIS ✨

hugin_stacker [options] --mode=STRING images

πŸ¦‹ DESCRIPTION πŸ¦‹

So hugin_stacker takes a whole stack of overlapping images and produces a combined image and/or a set of masked output images. That's the whole thing. Very demure, very mindful. πŸŽ€

hugin_stacker is useful for e.g.

  • automatic tourist removal (not only tourists, also other moving objects ;-))
  • noise reduction
  • visualize movement
  • multiplicity

like… tourist removal?? no cap, it eats. πŸ’…


🌸 OPTIONS 🌸

  • --mode β€” Select stack mode:
    • min|minimum|darkest β€” Select the darkest pixel.
    • max|maximum|brightest β€” Select the brightest pixel.
    • avg|average|mean β€” Calculate the mean for each position.
    • median β€” Calculate the median for each position.
    • winsor β€” Calculate the Winsor trimmed mean for each position. The parameter can be set with --winsor-trim=NUMBER (default: 0.2).
    • sigma β€” Calculate the sigma clipped mean for each position. Fine-tune with --max-sigma=NUMBER (default: 2) and --max-iterations=NUMBER (default: 5).

πŸ’œ Further parameters πŸ’œ

  • --output=FILE β€” Set the filename for the output file (if not given final.tif is used).
  • --compression=value β€” Set the compression of the output files. For jpeg files use values between 0 and 100. For tiff files valid values are: PACKBITS, DEFLATE, LZW.
  • --bigtiff β€” Write output in BigTIFF format (only with TIFF output).

🌈 Mask input images 🌈

  • --mask-input β€” Beside the stacked output hugin_stacker can also mask the input images (available only for stacking modes median|winsor|clip). This mode is activated with --mask-input. In this case the stacked image is first calculated. Then each pixel in each image is checked: if the value of this pixel differs more then mask sigma * standard deviation from the mean/median, this pixel is made visible. If it is in the mentioned range the pixel is masked out.
  • --mask-sigma=NUMBER β€” sets the sigma parameter for --mask-input. Default is 2.
  • --mask-suffix=STRING β€” Output a separate mask image for each input image named inputfilenameSTRING. Default value is "_mask".
  • --multi-layer-output β€” Output a layered TIFF with the name specified with --output. The file contains the averaged image as layer 0 and all input images as additional layers with the mask as described above.
πŸ’€ friendly lil heads-up: the --mask-input mode is only available for stacking modes median|winsor|clip. so don't come for it with avg, she's not doing that today. πŸ™ˆ

πŸ‘‘ AUTHORS πŸ‘‘

POD-format documentation converted from <https://wiki.panotools.org/Hugin_stacker> by Andreas Metzler


⭐ okay that's the whole page, you're officially educated, go stack some tourists out of existence πŸ˜­πŸ’–

version 2025.0.1, dated 2026-09-22 β€” mwah, that's the sign-off, xoxo πŸ’…βœ¨

πŸ“¦ where this page comes from