[ptx] Downscale resolution bug in autopano-SIFT was:autopanosift ubuntu breezy

Gerhard Gaussling ggrubbish at web.de
Sat Nov 12 18:01:44 GMT 2005


Am Samstag 12 November 2005 17:58 schrieb VETSEL Patrice:

> 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$
>
> Problem came from mono version in Breezy, or in bad coding of
> autopanog.exe
>
> I can't find solutions :/

autopanog.exe:

This only happens if using the default autopanog.exe option to downscale 
the images to 700 or 1300px. If you choose [downscale resolution] 
"keep/double picture-size" everything works fine. Unhfortunatley I 
don't have enough time to report this bug.

HTH

Kind regards

Gerhard


More information about the ptx mailing list