フィルターのクリア

how to see the vocabulary when using bagOfFeatures

2 ビュー (過去 30 日間)
Muhammad Hasnat
Muhammad Hasnat 2015 年 2 月 24 日
コメント済み: Saul Covarrubias 2021 年 2 月 9 日
Hi, I am using bagoffeatures in matlab. the example is already there http://www.mathworks.com/help/vision/examples/image-category-classification-using-bag-of-features.html
after the library has been built using bag = bagOfFeatures(imgSet)... Question, how can I see the individual elements of library ? i.e words which make up the trained library from the training images ? I was expecting something like bag.Vocabulary ?
  2 件のコメント
J
J 2015 年 11 月 3 日
also interested in this answer...
Saul Covarrubias
Saul Covarrubias 2021 年 2 月 9 日
As was I, interested that is, a quick poking around in matlab's source code for bagOfFeatures reveals you can access the vocabulary by calling
bag.saveobj.Vocabulary
supposing you already have a bagOfFeatures object called bag.

サインインしてコメントする。

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by