How to export image data to Excel?

2 ビュー (過去 30 日間)
Aidan Hill
Aidan Hill 2018 年 3 月 20 日
回答済み: KSSV 2018 年 3 月 21 日
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
KSSV 2018 年 3 月 21 日
I = imread('myiamge') ; % REad the RGB image
I = rgb2gray(I) ; % convert RGB image to gray scale
xlswrite('myfile.xls',I)

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by