Hello everyone, I am beginner to MATLAB. I am working on "SIFT key-point extraction and matching". So the firstmost implementation for the same is available here but it is giving the following error.
'siftWin32' is not recognized as an internal or external command,
operable program or batch file.
Error using sift (line 58)
Invalid keypoint file beginning.
kindly help to make it run...Thanks in advance

 採用された回答

Geoff Hayes
Geoff Hayes 2015 年 5 月 17 日

0 投票

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?

2 件のコメント

Walter Roberson
Walter Roberson 2015 年 5 月 18 日
"The demo program uses PGM format for the input images"
harpreet
harpreet 2015 年 5 月 18 日
thank you sir

サインインしてコメントする。

その他の回答 (0 件)

製品

タグ

質問済み:

2015 年 5 月 17 日

コメント済み:

2015 年 5 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by