How to export image data to Excel?

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!

回答(1 个)

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

类别

帮助中心File Exchange 中查找有关 Convert Image Type 的更多信息

提问:

2018-3-20

回答:

2018-3-21

Community Treasure Hunt

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

Start Hunting!

Translated by