how to find rgb values of an image & store in excel sheet
조회 수: 3 (최근 30일)
이전 댓글 표시
I want to extract the diff values of rgb values
댓글 수: 0
답변 (1개)
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)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!