[ptx] autopano-SIFT cvs-20051101 bug: scale inputfile to 700/1300 doesn't work

Gerhard Gaussling ggrubbish at web.de
Thu Nov 3 18:31:37 GMT 2005


Hello,

I successfully compiled autopano-SIFT from cvs.
I'm only able to use it without scale the input files to 700px or 1300px 
(down scale resolution). If I use these options it will fail with an 
error message like this:
command: autopanog.exe --output autopano_result_tempfile.pto 
--imagelist /tmp/ap_imgnamesMloo58
failed with error code: 1

$ hugin
Panorama obj created
output: autopano_result_tempfile.pto
adding: /home/gerhard/Desktop/Panorama/HH1/small_imm013_14A.jpg
adding: /home/gerhard/Desktop/Panorama/HH1/small_imm014_15A.jpg
adding: /home/gerhard/Desktop/Panorama/HH1/small_imm015_16A.jpg
adding: /home/gerhard/Desktop/Panorama/HH1/small_imm016_17A.jpg
adding: /home/gerhard/Desktop/Panorama/HH1/small_imm017_18A.jpg
adding: /home/gerhard/Desktop/Panorama/HH1/small_imm018_19A.jpg
adding: /home/gerhard/Desktop/Panorama/HH1/small_imm031_32A.jpg
adding: /home/gerhard/Desktop/Panorama/HH1/small_imm032_33A.jpg
adding: /home/gerhard/Desktop/Panorama/HH1/small_imm033_34A.jpg
adding: /home/gerhard/Desktop/Panorama/HH1/small_imm034_35A.jpg
adding: /home/gerhard/Desktop/Panorama/HH1/small_imm035_36A.jpg

Unhandled Exception: System.NullReferenceException: Object reference not 
set to an instance of an object
in (unmanaged) 0x2aaaaf74e9bb
in <0x0000f> (wrapper managed-to-native) 
System.Drawing.GDIPlus:GdipGetImageGraphicsContext (intptr,intptr&)
in <0x00061> System.Drawing.Graphics:FromImage (System.Drawing.Image)
in <0x001c1> DisplayImage:ScaleWithin (int)
in <0x00145> Autopanog:GenerateKeypointForImage 
(Gtk.TreeModel,Gtk.TreePath,Gtk.TreeIter)
in <0x000a4> (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_bool_TreeModel_TreePath_TreeIter 
(Gtk.TreeModel,Gtk.TreePath,Gtk.TreeIter)
in <0x00142> GtkSharp.TreeModelForeachFuncWrapper:NativeCallback 
(intptr,intptr,Gtk.TreeIter&,intptr)
in <0x0004f> (wrapper native-to-managed) 
GtkSharp.TreeModelForeachFuncWrapper:NativeCallback 
(intptr,intptr,Gtk.TreeIter&,intptr)
in (unmanaged) 0x2aaaac6f0ede
in <0x0000f> (wrapper managed-to-native) 
Gtk.TreeStore:gtk_tree_model_foreach 
(intptr,GtkSharp.TreeModelForeachFuncNative,intptr)
in <0x00057> Gtk.TreeStore:Foreach (Gtk.TreeModelForeachFunc)
in <0x00413> Autopanog:OnComputeClicked (object,System.EventArgs)
in <0x0005b> (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_void_object_EventArgs 
(object,System.EventArgs)
in <0x000e4> GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
in <0x0002a> (wrapper native-to-managed) 
GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
in (unmanaged) 0x2aaaad1423bf
in <0x0000f> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00008> Gtk.Application:Run ()
in <0x00391> Autopanog:Main (string[])

output: autopano_result_tempfile.pto

If I use 
keep input size or
double input size 

everything works fine.

kind regards

Gerhard Gaußling


More information about the ptx mailing list