[ptx] autopano-sift-1.6-win-1.zip,
No more Gtk#. Windows users please test :)
Ippei UKAI
ippei_ukai at mac.com
Tue Sep 21 07:20:11 BST 2004
Thanks.
Now my HuginOSX calles autopano.exe
I had to specify the autopano/generatekeys in full path in .sh because
the program couldn't find it by default:
# $MONO generatekeys.exe $arg $FILENAME $SIZE
$MONO ~/Download/hugin/autopano-sift-1.6-win-1/bin/generatekeys.exe
$arg $FILENAME $SIZE
So far I got following error, and mono crashed. But anyway this is a
first big step, I think.
Remaining arguments (12):
--> `o:s:p:nch'
--> `-l'
--> `output:,size:,points:,noransac,clean,help'
--> `-n'
-->
`/Users/ippei/Download/hugin/autopano-sift-1.6-win-1/bin/autopano-
complete.sh'
--> `--'
--> `-o'
--> `autopano_result_tempfile.pto'
--> `-p'
--> `10'
--> `/Users/ippei/Desktop/DSC01131.JPG'
--> `/Users/ippei/Desktop/DSC01132.JPG'
SIFT Keypoint Generation
Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for System.Drawing.GDIPlus --->
System.DllNotFoundException: gdiplus.dll
in <0x000e0> (wrapper managed-to-native)
System.Drawing.GDIPlus:GdiplusStartup
(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartu
pOutput&)
in <0x000b0> System.Drawing.GDIPlus:.cctor ()
--- End of inner exception stack trace ---
in (unmanaged) System.Drawing.GDIPlus:GdipLoadImageFromFile
(string,intptr&)
in <0x00064> System.Drawing.Bitmap:InitFromFile (string)
in <0x00060> System.Drawing.Bitmap:InitFromFile (string)
in <0x000a4> (wrapper remoting-invoke-with-check)
System.Drawing.Bitmap:InitFromFile (string)
in <0x0003c> System.Drawing.Bitmap:.ctor (string,bool)
in <0x00028> System.Drawing.Bitmap:.ctor (string)
in <0x000a4> (wrapper remoting-invoke-with-check)
System.Drawing.Bitmap:.ctor (string)
in <0x00050> DisplayImage:.ctor (string)
in <0x00124> GenerateKeys:Main (string[])
Unhandled Exception: System.NullReferenceException: Object reference
not set to an instance of an object
in <0x00088> System.Drawing.Bitmap:InitFromFile (string)
in (unmanaged) System.Drawing.GDIPlus:GdipLoadImageFromFile
(string,intptr&)
in <0x00064> System.Drawing.Bitmap:InitFromFile (string)
in <0x00060> System.Drawing.Bitmap:InitFromFile (string)
in <0x000a4> (wrapper remoting-invoke-with-check)
System.Drawing.Bitmap:InitFromFile (string)
in <0x0003c> System.Drawing.Bitmap:.ctor (string,bool)
in <0x00028> System.Drawing.Bitmap:.ctor (string)
in <0x000a4> (wrapper remoting-invoke-with-check)
System.Drawing.Bitmap:.ctor (string)
in <0x00050> DisplayImage:.ctor (string)
in <0x00124> GenerateKeys:Main (string[])
>>> 鵜飼 一平 (UKAI Ippei) >>>>>>>>>>>>>>>>>>>>>>>>>
My general e-mail and AIM: ippei_ukai at mac.com
Homepage: http://homepage.mac.com/ippei_ukai/
On 21 Sep 2004, at 04:28, Rob Park wrote:
> Guillaume Filion wrote:
>> The -r flag for GNU sed is for "extended regular expressions in the
>> script." Since perl is included by default on MacOSX, you could
>> replace the sed script by a perl script.
>> So, on line 64 of autopano-complete.sh, you should be able to replace
>> the following:
>> FILENAME=$(echo -n $arg | sed -r 's at .+/([^/]+$)@\1@').key.gz
>> by this (all on one line):
>> FILENAME=$(echo -n $arg | perl -n -e
>> 's at .+/([^/]+$)@\1@;print;').key.gz
>> At least it works on my PowerBook with OSX 10.3.5.
>
> Is this even necessary? All this regex does is strips off the path.
> The line could just as easily be replaced with:
>
> FILENAME=$(basename $arg).key.gz
>
> Although I'm not sure if OSX has the 'basename' command or not.
>
More information about the ptX
mailing list