フィルターのクリア

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

2 ビュー (過去 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 Center および File ExchangeSpreadsheets についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by