How to export image data to Excel?

2 visualizzazioni (ultimi 30 giorni)
Aidan Hill
Aidan Hill il 20 Mar 2018
Risposto: KSSV il 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!

Risposte (1)

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

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by