[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Implementing SIFT algorithm
From: |
Søren Hauberg |
Subject: |
Re: Implementing SIFT algorithm |
Date: |
Tue, 16 Aug 2011 16:05:05 +0200 |
Hi
Replies below
tir, 16 08 2011 kl. 18:50 +0530, skrev pavan padmashali:
> then i tried out : [image, descrips, locs] = sift('scene.pgm');
> the following messages are shown :
> warning: loadimage is obselete and will be removed from a future
> version of Octave;please use imread instead.
To get rid of this warning, edit the code and replace "loadimage" with
"imread".
> error: 'siftWin32' undefined near line 45 column 12
> error: C:\Octave\3.2.4-gcc-4.4.0\bin\sift.m at line 45,column 9.
>
>
> Now, siftWin32 is .exe file.
>
>
> line 41: % Call keypoints executable
> line 42:if isunix
> line 43: command = '!./sift ';
> line 44:else
> line 45: command = '!siftWin32 ';
> line46:end
Okay, this part of the code uses a rather annoying Matlab construct.
Basically, you have to remove the exclamation point (!) from the above
code. In line 48 where it says
eval(command);
you should write
system (command);
instead.
Søren