help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing SIFT algorithm


From: pavan padmashali
Subject: Re: Implementing SIFT algorithm
Date: Tue, 16 Aug 2011 18:50:51 +0530

Hello!
The following are the sequence of actions :
I downloaded the siftDemoV4 code.
Then to run the .m files, I placed the extracted code in C:\Octave\3.2.4_gcc-4.4.0\bin location. 
I installed image-package. (...since the code had functions like isrgb() , which were not available in the Octave installation.)
I saved two similar image which i created using Paint and stored them in the variables named 'image1' and 'image2'.

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.
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


On Tue, Aug 16, 2011 at 5:28 PM, Søren Hauberg <address@hidden> wrote:
You are going to have to provide more detailed information than this if
we are to help you. What did you actually do? (how did you install the
SIFT code? how did you run the code? etc) What kind of errors do you
get? (exact error messages are easier for us to understand).

Søren

tir, 16 08 2011 kl. 07:46 +0530, skrev pavan padmashali:
> I'm a beginner, so I just tried implementing David Lowe's SIFT line by
> line. In that, so as to understand the working rather than blankly try
> to understand the theory. Then ,i encountered parse errors which
> indicated syntax error showing various areas I had the location of a
> siftWin32.exe file. I have stopped here. Should I go a round about
> trying to implement SIFT any other way?
>
> > On Aug 15, 2011 7:46 PM, "Søren Hauberg" <address@hidden> wrote:
> >
> > man, 15 08 2011 kl. 17:32 +0530, skrev pavan padmashali:
> >
> >
> > > I'm trying to implement David Lowe's Scale Invariant Feature
> > Transform
> > > code ( matlab files : sif...
> >
> > What do you mean? Do you want to run David Lowe's code in Octave or
> > do
> > you want to implement SIFT from scratch? From what I recall, David
> > Lowe's code is just a simple wrapper around a binary program so that
> > should easily run in Octave. If you want to re-implement SIFT in
> > Octave,
> > I recommend against it: the algorithm is ridiculously hard to
> > implement
> > if you want it to behave like David Lowe's implementation (you need
> > to
> > get a bunch of tweaks just right or nothing works).
> >
> > Søren
> >
> >
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]