imsubtract(data(:,:,1), rgb2gray(data));
1 回表示 (過去 30 日間)
古いコメントを表示
imsubtract(data(:,:,1), rgb2gray(data));
how does the above function work??i know the operation of imsubtract in general.Here i dont understand the part "data(:,:,1)" where 'data' is an image and what does "(:,:,1)" specify here??plz anyone respond to this and give me answer as soon as possible..thankyou
0 件のコメント
採用された回答
Sean de Wolski
2012 年 1 月 24 日
data(:,:,1) specifies the first three dimensional slice of data. In an RGB image, this would be the R slice (plane).
3 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!