SURF features from RGB

7 views (last 30 days)
Olivia Harris
Olivia Harris on 27 Aug 2019
Commented: Olivia Harris on 3 Sep 2019
In Bag of Features, I can use SURF detection on my datastore of RGB images. When I use the detectSURF alone it requires only grayscale images. I want the features extracted from the Bag of Features function, but I want to maintain the location of points for each individual image and save figures with the valid_points plotted on the image. If Bag of Features can use SURF on RGB images, why can't I apply the same function individually?

Answers (1)

Shashank Gupta
Shashank Gupta on 30 Aug 2019
Hi Olivia,
Bag of features also uses the same “detectSURF” function to detect the surf features. Although you are storing RGB images, but interior in the bag of feature function it changes the RGB images to GRAY and then feed it to “detectSURF” function to extract the features.
You can cross check this by looking at the bagOfFeatures.m file in MATLAB
Try,
edit bagOfFeatures.m
I hope it helps you.
  1 Comment
Olivia Harris
Olivia Harris on 3 Sep 2019
Okay, thank you! Is there another function that can achieve the same feature extraction in matlab that can also be used to classify images that includes color information?

Sign in to comment.

Categories

Find more on Image Processing and Computer Vision in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!