How to have a single value for feature matrix ?

1 回表示 (過去 30 日間)
KDR
KDR 2016 年 9 月 23 日
コメント済み: KDR 2016 年 9 月 23 日
I have extracted feature from a image using SURF. i don't know how to check the result,the extracted features are in matrix of 64 column.How to make matrix to single value i.e adding matrix values
  2 件のコメント
Adam
Adam 2016 年 9 月 23 日
What do you mean by extracting features using SURF? surf is a function for plotting in Matlab so I don't know what kind of feature extraction you are doing.
KDR
KDR 2016 年 9 月 23 日
I have used surf feature descriptor...

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

採用された回答

Gopichandh Danala
Gopichandh Danala 2016 年 9 月 23 日
編集済み: Gopichandh Danala 2016 年 9 月 23 日
Assuming that you already computed a feature which is a row vector of size 64,,
% sumfeature
rowvector = rand(1,64); % assuming a 64 size row vector...replace by your feature
finalFeature = sum(rowvector(:));
sprintf('%s %d','finalFeature = ' , finalFeature)
Hope it helps.
Let me Know
  1 件のコメント
KDR
KDR 2016 年 9 月 23 日
Thank you sir..It worked

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by