[ptx] autopano-sift 1.6 released: control-point coverage improved, bug fixes

Chris Cothrun mutagen at gmail.com
Thu Sep 16 08:46:47 BST 2004


Hello,

I've got autopano-sift 1.6 mostly built on Windows with Microsoft's
.NET compiler. The GUI still has issues but the command line utilities
seem to work with Ian Sydenham's drag and drop script. I've uploaded
binaries to http://cothrun.com/windows-1.6-bin.zip, please test and if
they work Sebastian should probably add them to his page.

On Tue, 14 Sep 2004 10:59:48 +0200, Sebastian Nowozin
<nowozin at cs.tu-berlin.de> wrote:
> I am pleased to announce another release of autopano-sift. Mostly bug fixes and
> one new feature: the area the control points cover in the image is maximized
> when purging control points.

[snip]

Build errata

Line 160 of autopanog.cs:
 fs.CancelButton.Clicked += OnAddImageCancel;

shouldn't OnAddImageCancel be a function call? I commented it out to
get it to compile, it looks like that would disable cancelling out of
the file selection dialog.

aside from that it builds, attached are the warnings that the
Microsoft .NET compiler threw.

Autopanog gets through finding keypoints in the first image and throws:

An unhandled exception of type 'System.NullReferenceException'
occurred in gtk-sharp.dll

Additional information: Object reference not set to an instance of an object.

with the debugger referencing line 289 of autopanog.cs

I'll take a look later with my meager C# skills and see if I can sort
it out, unless someone else sees something right away. Or maybe its
still the Windows build of GTK#.

-- 
- Chris
-------------- next part --------------
make windows=yes clean all bin
make[1]: Entering directory `/e/graphics/autopano-sift-1.6/src'
rm -f libsift.dll
make windows=yes -C util clean
make[2]: Entering directory `/e/graphics/autopano-sift-1.6/src/util'
rm -f *.exe
make windows=yes -C autopanog/ clean
make[3]: Entering directory `/e/graphics/autopano-sift-1.6/src/util/autopanog'
rm -f *.exe
make[3]: Leaving directory `/e/graphics/autopano-sift-1.6/src/util/autopanog'
make[2]: Leaving directory `/e/graphics/autopano-sift-1.6/src/util'
rm -f bin/*.exe
csc /debug /unsafe /target:library /out:libsift.dll \
	ImageMap.cs KDTree.cs ScaleSpace.cs SimpleMatrix.cs ImageMatchModel.cs RANSAC.cs Transform.cs LoweDetector.cs GaussianConvolution.cs KeypointXML.cs MatchKeys.cs BondBall.cs AreaFilter.cs /r:gtk-sharp.dll /r:System.Drawing.dll /r:ICSharpCode.SharpZipLib.dll /r:glib-sharp.dll /r:gdk-sharp.dll
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

ImageMatchModel.cs(73,5): warning CS0168: The variable 'aEx' is declared but never used
ScaleSpace.cs(105,11): warning CS0169: The private field 'DScaleSpace.baseImg' is never used
make windows=yes -C util all
make[2]: Entering directory `/e/graphics/autopano-sift-1.6/src/util'
csc /debug /unsafe /out:autopano.exe Autopano.cs \
	/r:../libsift.dll /r:gtk-sharp.dll /r:System.Drawing.dll /r:glade-sharp.dll /r:atk-sharp.dll /r:gdk-sharp.dll /r:glib-sharp.dll
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

Autopano.cs(96,7): warning CS0168: The variable 'ex' is declared but never used
Autopano.cs(120,7): warning CS0168: The variable 'ex' is declared but never used
csc /debug /unsafe /out:showone.exe ShowOne.cs GUIImage.cs DrawingPrimitives.cs /r:../libsift.dll /r:gtk-sharp.dll /r:System.Drawing.dll /r:glade-sharp.dll /r:atk-sharp.dll /r:gdk-sharp.dll /r:glib-sharp.dll
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

DrawingPrimitives.cs(59,7): warning CS0168: The variable 'sign' is declared but never used
csc /debug /unsafe /out:showtwo.exe ShowTwo.cs GUIImage.cs DrawingPrimitives.cs /r:../libsift.dll /r:gtk-sharp.dll /r:System.Drawing.dll /r:glade-sharp.dll /r:atk-sharp.dll /r:gdk-sharp.dll /r:glib-sharp.dll
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

DrawingPrimitives.cs(59,7): warning CS0168: The variable 'sign' is declared but never used
csc /debug /unsafe /out:generatekeys.exe GenerateKeys.cs \
	GUIImage.cs DrawingPrimitives.cs /r:../libsift.dll /r:gtk-sharp.dll /r:System.Drawing.dll /r:glade-sharp.dll /r:atk-sharp.dll /r:gdk-sharp.dll /r:glib-sharp.dll
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

GenerateKeys.cs(55,6): warning CS0168: The variable 'ex' is declared but never used
DrawingPrimitives.cs(59,7): warning CS0168: The variable 'sign' is declared but never used
make windows=yes -C autopanog all
make[3]: Entering directory `/e/graphics/autopano-sift-1.6/src/util/autopanog'
csc /debug /unsafe -out:autopanog.exe -main:Autopanog autopanog.cs \
	-resource:autopanog.glade \
	..\\GUIImage.cs ..\\DrawingPrimitives.cs ..\\Autopano.cs /r:gtk-sharp.dll /r:glade-sharp.dll /r:atk-sharp.dll /r:gdk-sharp.dll /r:glib-sharp.dll /r:../../libsift.dll
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

e:\Graphics\autopano-sift-1.6\src\util\DrawingPrimitives.cs(59,7): warning CS0168: The variable 'sign' is declared but never used
e:\Graphics\autopano-sift-1.6\src\util\Autopano.cs(96,7): warning CS0168: The variable 'ex' is declared but never used
e:\Graphics\autopano-sift-1.6\src\util\Autopano.cs(120,7): warning CS0168: The variable 'ex' is declared but never used
autopanog.cs(14,13): warning CS0649: Field 'Autopanog.autopanogWin' is never assigned to, and will always have its default value null
autopanog.cs(17,13): warning CS0649: Field 'Autopanog.computeWin' is never assigned to, and will always have its default value null
autopanog.cs(20,15): warning CS0649: Field 'Autopanog.fileTree' is never assigned to, and will always have its default value null
autopanog.cs(23,18): warning CS0649: Field 'Autopanog.useRANSAC' is never assigned to, and will always have its default value null
autopanog.cs(26,12): warning CS0649: Field 'Autopanog.downscaleResolution' is never assigned to, and will always have its default value null
autopanog.cs(34,12): warning CS0649: Field 'Autopanog.maxPairKeypoints' is never assigned to, and will always have its default value null
autopanog.cs(42,12): warning CS0649: Field 'Autopanog.savePositionPrefix' is never assigned to, and will always have its default value null
autopanog.cs(50,12): warning CS0649: Field 'Autopanog.ptoFilename' is never assigned to, and will always have its default value null
autopanog.cs(62,18): warning CS0649: Field 'Autopanog.generationProgress' is never assigned to, and will always have its default value null
autopanog.cs(66,18): warning CS0649: Field 'Autopanog.matchingProgress' is never assigned to, and will always have its default value null
autopanog.cs(69,13): warning CS0649: Field 'Autopanog.progressQuitButton' is never assigned to, and will always have its default value null
autopanog.cs(78,9): warning CS0169: The private field 'Autopanog.outputFile' is never used
make[3]: Leaving directory `/e/graphics/autopano-sift-1.6/src/util/autopanog'
make[2]: Leaving directory `/e/graphics/autopano-sift-1.6/src/util'
cp ICSharpCode.SharpZipLib.dll libsift.dll util/*.exe util/autopanog/*.exe \
	bin/
make[1]: Leaving directory `/e/graphics/autopano-sift-1.6/src'
mkdir windows-bin
cp bin/*.dll bin/*.exe windows-bin/
zip -9 -r windows-1.6-bin.zip windows-bin/
updating: windows-bin/ (stored 0%)
updating: windows-bin/autopano.exe (deflated 60%)
updating: windows-bin/autopanog.exe (deflated 81%)
updating: windows-bin/generatekeys.exe (deflated 54%)
updating: windows-bin/ICSharpCode.SharpZipLib.dll (deflated 61%)
updating: windows-bin/libsift.dll (deflated 62%)
updating: windows-bin/showone.exe (deflated 55%)
updating: windows-bin/showtwo.exe (deflated 55%)


More information about the ptX mailing list