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!