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일

0 개 추천

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