how do i save extracted feature vectors of an image database?

3 ビュー (過去 30 日間)
nissrine Neyy
nissrine Neyy 2021 年 1 月 2 日
コメント済み: nissrine Neyy 2021 年 1 月 9 日
Hello everybody
i have a DB of images for a CBIR project and i have to extract different types of features (color : using HSV, texture : using LBP) which i already did, now my qs is how to save those extracted features in a dataset of features to which the CBIR system would go back to, to retreive the similar images ? .. is it a ".mat" file or some other way ? and is it possible to gather the different types of features in the same dataset knoing that their vector sizes are different too? can anyone please help

採用された回答

Image Analyst
Image Analyst 2021 年 1 月 2 日
Yes, you can save your variables in a .mat file. Use the save() function, like
save('answers.mat', 'var1', 'feature2', 'something3');
or whatever. They don't all need to be the same size or even class.
  10 件のコメント
Image Analyst
Image Analyst 2021 年 1 月 8 日
Show the whole loop. You left out the parts where you get new baseFileName, HSV_Images, and LBP_Images. If baseFileName changes in the loop (as it should, along with the images), then the structure array should have different file names.
nissrine Neyy
nissrine Neyy 2021 年 1 月 9 日
Got it fixed, it's actually silly as an issue, it was just the ':' missing in the :
k = 1:numberOfFiles
Thank you anyway

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by