Headless Hugin - or - Autopano + nona + enblend - hugin

96 views
Skip to first unread message

tetsu yatsu

unread,
Jun 4, 2010, 2:36:40 AM6/4/10
to hugin and other free panoramic software
I've got a project we'd like to use panoramic images for. We have a
big whiteboard at our lab and a spiffy ceiling-mounted ptzcam with
zoom and autofocus. I'd like to take multiple pictures of the white
board at full zoom, stitch them together, and post them to flickr.

I am impressed by how easy it is to create a panorama with Autopano-
SIFT and Hugin, I'd say roughly <10minutes, but I am really looking
for a completely automated solution.

Quality of panorama doesn't matter as much as automatability.



After reading lots of documentation the past two nights, I've come up
with this sequence:

autopano-complete -o panoproject.pto -p 20 *.JPG
nona panoproject.pto -m TIFF_m -o output
enblend output*.tif -o final.tif

but what I get is big grey/brown/black squares surrounded by
transparent alpha borders on the left and right, or very tiny images
that don't realign themselves to eachother, just layer on top of
eachother.

In Hugin, I would use the Align... button first, before running the
nona commands. Is there a step here that does alignment that I'm
missing?

James Legg

unread,
Jun 4, 2010, 8:27:59 AM6/4/10
to hugi...@googlegroups.com
On Thu, 2010-06-03 at 23:36 -0700, tetsu yatsu wrote:
> In Hugin, I would use the Align... button first, before running the
> nona commands. Is there a step here that does alignment that I'm
> missing?

Yes. Autopano only generates control points. Use autooptimiser to set
the image positions.

Between autopano-complete and nona, try this:
autooptimiser -a -l -s -o panoproject.pto panoproject.pto

This page provides more details:
http://wiki.panotools.org/Panorama_scripting_in_a_nutshell#Optimising_positions_and_geometry

-James


tetsu yatsu

unread,
Jun 4, 2010, 7:20:18 PM6/4/10
to hugi...@googlegroups.com
I know this was a very simple answer, and someone else asked
relatively the same question at the same time so you may get it a lot,
but that absolutely worked, and I thank you so much!

I feel so powerful now :). The power of panoramography.

> --
> You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
> A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
> To post to this group, send email to hugi...@googlegroups.com
> To unsubscribe from this group, send email to hugin-ptx+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply all
Reply to author
Forward
0 new messages