ERECT2PLANET(1)

πŸ“¦
version 0.29 Β· 2 versions
, in fedora 43

✨ NAME ✨

okay bestie, meet erect2planet πŸ’– β€” she's the one who extracts a stereographic 'little planet' from an equirectangular image πŸͺβœ¨

(yeah this is a Perl script from the User Contributed Perl Documentation, we're in the <pink>ERECT2PLANET(1)</pink> zone, iykyk πŸ’…)


πŸŽ€ SYNOPSIS πŸŽ€

erect2planet equirectangular.tif

that's it. that's the whole vibe. one little line and you get a whole planet 🌍


πŸ’« DESCRIPTION πŸ’«

So here's the tea, bestie β˜•: this tool generates a suitably sized stereographic .pto project out of a 360 degree equirectangular image. Iconic behaviour honestly.

Input can be in any image format understood by hugin β€” she's flexible like that, no gatekeeping πŸ’…

Output is in square TIFF format with a field of view of 253.7398 degrees πŸ‘‘ and the reason for that exact number? It places the horizon halfway between the centre and the edge. Math girlies stay winning fr fr 🧚

The output filename is derived automatically from the input filename with -sgraphic.pto appended. No manual naming, she just handles it 🫢

⚠️ heads up bestie: existing .pto files will not be clobbered. But they will be updated when input images change size. So don't be shocked when your old file gets a lil glow-up πŸ’€βœ¨

<http://hugin.sourceforge.net/>


πŸ“œ 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. periodt πŸ’œ


🌈 See Also 🌈

  • perl
  • Panotools::Script

go read those too, bestie, they're the supporting cast πŸŽ€


πŸ¦‹ Author πŸ¦‹

Bruno Postle <bruno AT postle.net> β€” shoutout to the main character who made this happen πŸ‘‘


and that's the whole page, bestie!! 🫢 this was perl v5.42.0, dated 2025-07-25, from the ERECT2PLANET(1) manual πŸ’– go make urself a tiny planet, you deserve it πŸͺβœ¨

πŸ“¦ where this page comes from