[ptx] Problems with Autopano-Sift, Hugin, Enblend workflow for windows

Mark nestor at nwlink.com
Sat Oct 2 06:27:56 BST 2004


Thanks for your pointers.  Further investigation (read: insane amount of 
grovelling)
showed that an app that I use for archiving to CD/DVD had installed and 
registered
an ancient version of a DLL. Reinstalling the latest version of Wscript gave 
me the
power to drag-n-drop onto the .vbs scripts.

Once I get things into hugin:
1. I can't use LoadExif; it apparently only works from .jpg's while 
autopano-sift
    only reads .tiff.
2. Exiting HUGIN always results in an access violation. It'd be nice if 
there were
    PDB symbols around so I could debug it... Is there a Visual Studio 
project
    (sorry!) around for it? I hate to duplicate someone else's efforts 
there...
3. Running with PTOptimizer results in the apply/cancel dialog boxes 
appearing but
    you can never close them. Worse, you can't close hugin either.
4. It'd be nice to get hugin to call out to autopano-sift to get the control 
points generated.
    From what I can divine, it is calling CreateProcess on the .vbs file. 
There are two
    problems in this. First, the name being passed is not properly quoted 
(if there's spaces
    in the path, like Program_Files, it fails); this isn't a problem in most 
cases, but it's
    possible to spoof it. Second, it is treating the .vbs file as an 
executable image when
    what you want to do is get the system to process all the associations 
for .vbs and
    launch the correct app. What the code should be calling, in this case, 
is ShellExecute.
5. The Center button in the preview app really doesn't center at all.
6. PTGui has this nice feature where you can click in the preview to show 
where the
    new center point of the panorama is. It'd sure be nice if there was a 
way to (easily)
    do this. Of course I may be blind and haven't figured out how to do it.


Any ideas?

----- Original Message ----- 
From: "Mike Runge" <mike at trozzreaxxion.net>
To: <nestor at nwlink.com>
Cc: <ptx at email-lists.org>
Sent: Friday, October 01, 2004 1:17 AM
Subject: Re: [ptx] Problems with Autopano-Sift, Hugin,Enblend workflow for 
windows



Hi Mark,
I'm using autopano-sift 1.7/hugin/enblend on wxpSP2.
See my comments between the lines

>
>Installation (XPsp2)
>
>1. Install Autopano-sift
>(http://user.cs.tu-berlin.de/~nowozin/autopano-sift/autopano-sift-1.7-win-1.exe).

>2. Install Mono/GTK#
>(http://forge.novell.com/modules/xfcontent/file.php/monowin32/Mono%20Win32%20Combined%20Installer/v1.0.2.7/mono-1.0.2-gtksharp-1.0.2-win32-0.7.exe)
I didn't installed this one

- Install pano tools (at least pano12.dll and PTOptimiser)

>3. Install Hugin
>(http://hugin.sourceforge.net/snapshots/windows/hugin_2004_09_15-01_30_win32zip)
>4. Install Enblend
>(http://www-cad.eecs.berkeley.edu/~mihal/enblend/enblend-1.3.zip)
>
>Running autopano-sift:

>1. (Ugly, first crack, you can improve on this) in CMD do (yeah, default
>places):
>    "c:\Program Files\Mono-1.0.2\bin\mono" "c:\Program
>Files\Autopano-SIFT-1.7\autopanog.exe"
>    to get the autopano GUI started. Watch the error/warnings fly by. One
>    would think that proper programming would NEVER produce these...

As far as I understood, the GUI is not working actually. Just drop your
image files onto autopano-sift.vbs (Installation put's an icon on your
desc).
Change some settings (if needed) and run. This will give you a hugin.pto
file

- Start hugin, open the ptofile.
- Correct the lens settings in the lesn tab (e.g. Load Exif).
- Add some verticals/horizontals
- Optimize(Custom) y,p,r
- check preview, edit boundaries/dimensions
- Optimize lens parameters
- stitch (nona, Tiff, Soft blending)
(- If required, load the final panorama and some of the single tiffs nona
creates in gimp/PS to edit some things manually.)

Hope this will work for you too,
mike

http://www.trozzreaxxion.net
http://www.panoclub.de 



More information about the ptX mailing list