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 个)
KSSV
2018-3-21
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!