using HSV histogram of 6 bins in image classification
2 ビュー (過去 30 日間)
古いコメントを表示
Hi please i need help .... could anyone tell me how to use HSV histogram in image classification i tried hard i get the histograms but when i tried to save results in a file to use it in nearest neighbor classifier i stopped i didn't know what to save and how to use data.
i used this code
2 件のコメント
Walter Roberson
2013 年 2 月 23 日
If you search this resource for
hsv histogram
you will find a number of discussions.
採用された回答
Image Analyst
2013 年 2 月 23 日
Didn't I already give you code for that in an earlier question? I did for someone...
5 件のコメント
Walter Roberson
2013 年 2 月 23 日
.mat is the expected file extension when you use save(), and is completely suitable if you will be loading the information back into MATLAB. You can use
load FILENAME
to restore the histogram variable value to your workspace.
Image Analyst
2013 年 2 月 23 日
Yes, that is fine:
fullFileName = fullfile(yourFolder, 'hsv_histograms.mat');
save(fullFileName, 'hCount', 'sCount', 'vCount');
yourFolder can be pwd (the current folder) if you want.
I don't know what your last sentence means. No idea.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Histograms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!