How to store co-occurence matrix in .mat file in matlab?
Info
This question is closed. Reopen it to edit or answer.
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?
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
ROHAN Joshi
on 22 Jan 2014
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!