matlabcomputer-visionsiftvlfeat

Unable to run code for DSP-SIFT in MATLAB


So, I got the code for DSP-SIFT from the original works of the author in the form of a toolbox. When I followed the instructions and tried to get it to run in MATLAB :

>> dsp_setup
>> dsp_mosaic
Undefined function 'vl_usift' for input arguments of type 'single'.

Error in vl_dspsift (line 50)
frames = vl_usift(im);

Error in dsp_mosaic (line 68)
[f1, d1] = vl_dspsift(im1g, opt);

After Googling this error(I am new to MATLAB), I found a solution saying that maybe my function cannot be recognised by MATLAB, so I need to add the containing folder to the MATLAB search path, which I tried doing:

>> which vl_usift -all
'vl_usift' not found.

>> addpath ('/home/dsp_toolbox_v0.0.2/dsp_toolbox_v0.0.2/toolbox/sift/')

Howver, I get the same error when trying to run the code. I can add the code if it helps, but I do need advice on how to proceed from here.

Thanks


Solution

  • So, after a few hours of searching around, I finally came across the problem, there were a few lines commented in the setup file which I had to uncomment. Simple and frustrating.

    Thanks!