how to find rgb values of an image & store in excel sheet

2 Ansichten (letzte 30 Tage)
deeksha rastogi
deeksha rastogi am 22 Nov. 2016
Beantwortet: KSSV am 22 Nov. 2016
I want to extract the diff values of rgb values

Antworten (1)

KSSV
KSSV am 22 Nov. 2016
RGB = imread('your image') ; % read image, color image
R = RGB(:,:,1) ;
G = RGB(:,:,2) ;
B = RGB(:,:,3) ;
% write to excel
xlswrite('Red.xls', R)
xlswrite('Green.xls', G)
xlswrite('Blue.xls', B)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by