January 17, 2019

Rescuing Difficult Panoramas on Linux, Hugin part 2 - page 2

Control Points, Upgrading Hugin

  • September 9, 2010
  • By Akkana Peck

Yes, it's tiny and it's upside down. But the Fit button takes care of the size (Figure 4). To turn it right-side up, type 180 (that's degrees) into the Roll field and click Apply. If your image is a little tilted already, you may want to use a different number -- 182 turned out to be about right for Figure 4. If you guess wrong, add a minus in front of the number and Apply again.

<i>figure 4</i>
figure 4

Finally, use the Crop tab to get rid of the extra blank space around your image.

Of course, if you find Hugin's angle adjustments too difficult, you can always rotate and crop the final image later in a program like GIMP. You lose a little bit of quality every time you rotate an image, but if you only rotate it once it probably won't be noticeable.

Fnally go back to the main Hugin window to Create panorama... Whew!

Simulated Undo

If you mess with the preview window enough, you'll probably get tired of not having a way to Undo. So here's a workaround: after you've finished Align..., save the project using File->Save as... and a name like mypano-aligned.pto. Then you can quit, restart and Open... the project and you won't have to wait for Align... again.

Other uses for the Move tab

If you drag one of these squashed images somewhere other than the center you can create other useful effects. For instance, in Figure 5, dragging down past the center expanded the image to something like an "architectural" projection, like you'd get with one of those super-expensive tilt-shift lenses. There are other ways to get this effect in Hugin; but as long as you're playing with the Move tab, try moving your image to different places and see what happens. You might get some interesting effects.

<i>figure 5</i>
figure 5

In Part 3, I'll talk about some other fun uses for Hugin, including some of those projections. It's not just for panoramas!

Akkana Peck is a freelance programmer and writer, amateur photographer and the author of the book Beginning GIMP: From Novice to Professional. She's also a control freak who loves fiddling with devices and making them do things they aren't supposed to be able to do.


Most Popular LinuxPlanet Stories