I have divided image into 30 blocks and obtained histogram of each block using LBP algorithm, i do not know how to store them separately and merge all histogram to get the single histogram?I want code for merging and saving each histogram of block.
2 ビュー (過去 30 日間)
古いコメントを表示
If I create array of Histogram then it gives me error that Subscripted assignment dimension mismatch. so please help me.
採用された回答
Image Analyst
2014 年 1 月 7 日
Create a mat file with the save() function. You can attach your actual image with the paper clip icon if your code can only work with that kind of image. To add histograms, do this
sumHist = hist1 + hist2; % Must have same number of bins. hist1 can be sumHist if you want.
その他の回答 (1 件)
Nikolay S.
2015 年 3 月 16 日
Hi there. I'd suggest to have the histograms concatenated via Matlab CAT command. masterHist=cat(1, hist1, hist2,...hist30);
I believe a similar scheme is proposed for face detection in "Face Description with Local Binary Patterns: Application to Face Recognition", http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1717463
Best regards, Nikolay
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!