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

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

I don't know what it means "to extract a sift file". You have a c file. What do you want MATLAB to do to it? Is this even a MATLAB question , or should you be posting to a C forum?
Sir, in very simple terms, i need to convert image.jpg to image.sift
The code that i have for this purpose i.e "lib/sift" can be found at this link https://github.com/lambertoballan/sift-forensic
Did you solve the problem of getting a C compiler for your Windows 8.1 system?
I need a mex compiler to solve above mentioned problem only.
"mex" is a tool that invokes a C compiler that you have installed, so if you are having trouble installing SDK 7.1 on a Windows 8.1 system then that is going to affect mex as well as affecting building the executables for the sift software.
Sir, i didn't get your point.
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)

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

Asked:

on 23 May 2015

Commented:

on 24 May 2015

Community Treasure Hunt

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

Start Hunting!