How to generate a ,sift file from an image file?

2 views (last 30 days)
Hello, i am using a code in which i have to pass two arguments in a function as follows: match_features(imageFile, siftfile); Here imageFile is simply path of the image to test. Siftfile is image.sift file extracted from the image.
Now, to extract this sift file, a code folder containing a set of c files is provided in the code. But still it shows up the error: Siftfile missing I also want to upload that set of files, but format is not supported. So i am uploading screenshot of the sift.c file only to give you guys idea. Kindly help me to remove the error or to execute this type of file
  8 Comments
Walter Roberson
Walter Roberson on 24 May 2015
If I understand correctly, you have the C code for sift, and you are trying to get it to work with MATLAB. To do that, you need to use a C compiler, such as SDK 7.1 for example. This is true even if the C code has been provided in the form of routines that you can compile by using "mex". "mex" is not a C compiler itself: "mex" is a tool that invokes a C compiler.
You need a working C compiler on your system to get sift working with MATLAB. If I recall correctly, you were the person who was having difficulty installing SDK 7.1 on Windows 8.1, so if I understand correctly you do not yet have a working C compiler. It is possible that I am confusing you with someone else: it might have been someone else who was having the compiler installation problems. Can you confirm that you have a fully installed C compiler such as SDK 7.1 and can you confirm that mex -setup is able to find that C Compiler?

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 24 May 2015
I don't think you've given enough information for anyone to help you or understand what you're asking. Good luck with it though. Anyway, there is no SIFT in MATLAB so you need to write it yourself. Also, it's patented. The Computer Vision System Toolbox has SURF in it, and this is a faster alternative to SIFT. You might want to check out http://www.mathworks.com/help/vision/feature-detection-extraction-and-matching.html

Community Treasure Hunt

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

Start Hunting!