SURF features from RGB

7 次查看(过去 30 天)
Olivia Harris
Olivia Harris 2019-8-27
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?

回答(1 个)

Shashank Gupta
Shashank Gupta 2019-8-30
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 个评论
Olivia Harris
Olivia Harris 2019-9-3
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?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing and Computer Vision 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by