How to add images from datastore into matrix or table for SVM classification?

I have three folders of image which I am using for multiclass classification using SVM, I made my training and test sets using splitEachLabel function, now I want to train my model using SVM classifier. I need to form a matrix for all the images, so that I can perform classification. Need help with it, slightly confused how to proceed. At first I am not doing any feature extraction, I am directly performing classification

 採用された回答

Krishna Sutar
Krishna Sutar 2021 年 8 月 16 日

0 投票

Please refer to imageDatastore documentation to understand its functions, properties, and for importing and processing the data using Object functions.

その他の回答 (0 件)

質問済み:

2021 年 8 月 16 日

回答済み:

2021 年 8 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by