[ptx] autopano-sift v2.4 problems on linux

Michael Galloway mgx at ornl.gov
Thu Dec 8 17:04:20 GMT 2005


good day all, i'm tying to understand the idiosyncracies of autopano-sift. i have 5 pictures in a directory.
if i run the shell script wrapper autopana-complete.sh it runs and generates a pto file. if i run the 
gui tool under mono it fails, unless i set the downscale resolution to 'keep input size', then it runs. 
when it fails it fails with this error:

michael at michael:~/sns/autopanotest> mono /usr/local/bin/autopanog.exe

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
in (unmanaged) 0x4619902a
in <0x00004> (wrapper managed-to-native) System.Drawing.GDIPlus:GdipGetImageGraphicsContext (intptr,intptr&)
in <0x00057> System.Drawing.Graphics:FromImage (System.Drawing.Image)
in <0x00186> DisplayImage:ScaleWithin (int)
in <0x00118> Autopanog:GenerateKeypointForImage (Gtk.TreeModel,Gtk.TreePath,Gtk.TreeIter)
in <0x00086> (wrapper delegate-invoke) System.MulticastDelegate:invoke_bool_TreeModel_TreePath_TreeIter (Gtk.TreeModel,Gtk.TreePath,Gtk.TreeIter)
in <0x000f4> GtkSharp.TreeModelForeachFuncWrapper:NativeCallback (intptr,intptr,Gtk.TreeIter&,intptr)
in <0x00042> (wrapper native-to-managed) GtkSharp.TreeModelForeachFuncWrapper:NativeCallback (intptr,intptr,Gtk.TreeIter&,intptr)
in (unmanaged) 0x40f5a057
in <0x00004> (wrapper managed-to-native) Gtk.TreeStore:gtk_tree_model_foreach (intptr,GtkSharp.TreeModelForeachFuncNative,intptr)
in <0x00046> Gtk.TreeStore:Foreach (Gtk.TreeModelForeachFunc)
in <0x002cb> Autopanog:OnComputeClicked (object,System.EventArgs)
in <0x00043> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x000bb> GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
in <0x00035> (wrapper native-to-managed) GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
in (unmanaged) 0x411695ea
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x00325> Autopanog:Main (string[])

this is suse 10.0 i386, autopano-sift v2.4, is there something simple i'm missing here?

-- michael


More information about the ptx mailing list