Hi, is it possible to implement a customized bagOfFeatures with a SIFT extractor? and detector?

5 views (last 30 days)
Arthur Costa
Arthur Costa on 11 Apr 2016
Commented: shalaw faraj on 21 Mar 2020
I'm using MATLAB R2014b version with computer vision toolbox. I'm trying to generate classifiers with different types of extractors to analyse handwritten words, and for that i'm making use of bagOfFeatures function. MATLAB doesn't have a SIFT extractor code but it's possible to implement it or use David Lowe's version. How can i use this SIFT extractor (and detector) with the bagOfFeatures function?
  1 Comment
shalaw faraj
shalaw faraj on 21 Mar 2020
Dear Arthur Costa,
did you get the code of Bag of features based on SIFT? if you got it please give it to me.

Sign in to comment.

Accepted Answer

Anand on 12 Apr 2016
If you can upgrade to a later version (R2015a or higher), you can use the 'CustomExtractor' name-value pair to do this. Unfortunately, this wasn't part of R2014b.

More Answers (1)

Image Analyst
Image Analyst on 11 Apr 2016
SIFT is still patented by the University of British Columbia for a few more years. I believe the Computer Vision System Toolbox uses SURF instead.
  1 Comment
Arthur Costa
Arthur Costa on 19 Apr 2016
Thanks! That's one reason. But for research purposes they have provided a demo software at David Lowe's page: http://www.cs.ubc.ca/~lowe/keypoints/
But it doesn't run properly. I keep getting an error with 'Invalid keypoint file beginning'

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by