필터 지우기
필터 지우기

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

조회 수: 3 (최근 30일)
deeksha rastogi
deeksha rastogi 2016년 11월 22일
답변: KSSV 2016년 11월 22일
I want to extract the diff values of rgb values

답변 (1개)

KSSV
KSSV 2016년 11월 22일
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)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by