what is the meaning of the following error in the given part of code.?

3 views (last 30 days)
Error:
Processing Image-1 (Database)
Images/Database/2.jpg
'siftWin32' is not recognized as an internal or external command,
operable program or batch file.
Error using sift (line 60)
Invalid keypoint file beginning.
Code:
if isunix
command = '!./sift ';
else
command = '!siftWin32 ';
end
command = [command ' <tmp.pgm >tmp.key'];
eval(command);
% Open tmp.key and check its header
g = fopen('tmp.key', 'r');
if g == -1
error('Could not open file tmp.key.');
end
[header, count] = fscanf(g, '%d %d', [1 2]);
if count ~= 2
error('Invalid keypoint file beginning.');
end

Answers (1)

Image Analyst
Image Analyst on 3 Sep 2013
It means you don't have siftWin32 as a program, at least not one that's visible when run from your current folder. Can you do
>> !siftWin32
from the comman line?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!