[ptx] autopanosift ubuntu breezy
Pablo d'Angelo
pablo.dangelo at web.de
Sat Nov 12 18:18:44 GMT 2005
VETSEL Patrice schrieb:
> WIth this tutorial or with mine here
> http://www.kagou.org/dotclear/index.php?2005/10/14/128-panorama-sous-hoary-ubuntu-installation-version-breezy#co
>
> autopanog.exe don't work ( i mean it crash on compute, not in launching,
> adding pictures or playing with options ).
This seems to happen only when using autopanog.exe (I'm running ubuntu
breezy on AMD64).
The autopano-complete.sh shell script works fine.
I suspect that autopanog.exe uses the System.Drawing.Graphics calls,
whereas generatekeys.exe uses gtk# functions for this task.
Seems like the mono shipped with ubuntu is incompatible with autopanog.
Mono versions installed on ubuntu breezy:
Mono JIT compiler version 1.1.8.3
mono-classlib-1.0: Version: 1.1.8.3
mono-classlib-2.0: Version: 1.1.8.3
> try to load http://hugin.sourceforge.net/tutorials/two-photos/045.jpg
> and http://hugin.sourceforge.net/tutorials/two-photos/046.jpg from
> http://hugin.sourceforge.net/tutorials/two-photos/en.shtml
> in autopanog.exe and click on «compute»
>
> you will get :
>
> kagou at agape:~$ cd test/
> kagou at agape:~/test$ autopanog.exe
>
> Unhandled Exception: System.NullReferenceException: Object reference not
> set to an instance of an object
> in (unmanaged) 0xb67881d1
> 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 <0x0011f> 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) 0xb70b12c1
> 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) 0xb6d1fab2
> in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
> in <0x00007> Gtk.Application:Run ()
> in <0x002f8> Autopanog:Main (string[])
>
> kagou at agape:~/test$
>
ciao
Pablo
More information about the ptx
mailing list