how to extract and store features which are stored in an excel sheet into mat file?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have stored GLCM features(for folder of images) into an excel sheet.. how to extract excel sheet features into a mat file?here is my code... for i = 1:num_pages
fprintf('Processing page No: %d\n', i);
% load the image from the directory
I = double(rgb2gray(imresize((imread(strcat(dir_in,file_names{i}))),[256 256])))
gf=graycomatrix(I);
glcm=graycoprops(gf);
Features=zeros(1,4);
Features(1,:)=struct2array(glcm);
filename='G:\matlab2013\Crack\bin\CODES\Features.xlsx';
xlswrite(filename, Features(1,:),'sheet1',['A' num2str(i) ':' 'D' num2str(i)])
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Spreadsheets dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!