How to export image data to Excel?

2 views (last 30 days)
Aidan Hill
Aidan Hill on 20 Mar 2018
Answered: KSSV on 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!

Answers (1)

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

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!