How to export image data to Excel?

11 vues (au cours des 30 derniers jours)
Aidan Hill
Aidan Hill le 20 Mar 2018
Réponse apportée : KSSV le 21 Mar 2018
Looking for a program to convert a photo to a grayscale image and then export all the grayscale values to an Excel sheet. Thanks in advance!

Réponses (1)

KSSV
KSSV le 21 Mar 2018
I = imread('myiamge') ; % REad the RGB image
I = rgb2gray(I) ; % convert RGB image to gray scale
xlswrite('myfile.xls',I)

Catégories

En savoir plus sur Convert Image Type 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!

Translated by