How to save SURF feature value?

3 ビュー (過去 30 日間)
S.A
S.A 2018 年 4 月 23 日
コメント済み: chetna kaushal 2019 年 8 月 2 日
I have extracted feature from a single image using SURF feature extraction method. The extracted features are in matrix of 64 column and i have made a matrix to single value i.e adding matrix values. But my problem is, the particular single value which i have obtained by using sum function keeps altering every time when I run the code. Once if the value is 32.0676 next time when i run the same code it will be 29.0778 or something other value. I have attached the code for it and the image.
  1 件のコメント
chetna kaushal
chetna kaushal 2019 年 8 月 2 日
hy,
the extracted features are in a 64 column but value is different for each image. say 322*64, 593*64, 233*64. How did you come up to a single value? and how to feed them for testing in classification.

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

採用された回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2018 年 4 月 23 日
編集済み: KALYAN ACHARJYA 2018 年 4 月 23 日
Because in your code following random column vector generation is there, every time it generates different column vector, therefore "sumoffeatures" value changes
columnvector = rand(1,64)
  3 件のコメント
KALYAN ACHARJYA
KALYAN ACHARJYA 2018 年 4 月 23 日
編集済み: KALYAN ACHARJYA 2018 年 4 月 23 日

Just fixed the column vector, add one following line-

rng(1);
columnvector = rand(1,64)
S.A
S.A 2018 年 4 月 23 日
Thank you. It works

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

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by