Info
This question is closed. Reopen it to edit or answer.
How to store co-occurence matrix in .mat file in matlab?
1 view (last 30 days)
Show older comments
I am working on a project on cbir. I have 10 images stored in a folder and i want to calculate co-occurence matrix of all this images and store it in .mat file to compare with co-occurence matrix of query image.
can some one provide me matlab code for it?
0 Comments
Answers (1)
Image Analyst
on 21 Jan 2014
See the FAQ http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F. Then build up a cell array or 3D array of your co-occurrence matrices. Then call save
save(matFullFileName, 'glcm');
after the loop.
1 Comment
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!