harpreet - please describe the steps that you are following that lead to the above error. Are you able to run the software in MATLAB? Are you running the above from the command line in the directory where the software is located?
In the MATLAB command window, I can do the following
>> cd siftDemoV4\
>> [image, descrips, locs] = sift('scene.pgm');
Finding keypoints...
1021 keypoints found.
>> showkeys(image, locs);
Drawing SIFT keypoints ...
>> match('scene.pgm','book.pgm');
Finding keypoints...
1021 keypoints found.
Finding keypoints...
882 keypoints found.
Found 98 matches.
And from the DOS command line (asssuming that I'm in the directory where the files are located) I can issue the following commands
C:\Users\Geoff\Documents\MATLAB\siftDemoV4>sift <book.pgm >book.key
'sift' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Geoff\Documents\MATLAB\siftDemoV4>siftWin32 <book.pgm >book.key
Finding keypoints...
882 keypoints found.
Note the error message in the above which is similar to yours because I am running an invalid exe for my workstation. Are you executing the correct executable for your OS? If your OS is Windows, is it 32-bit?
Best Answer