Help me how can identify intensity for each wavelength
조회 수: 1 (최근 30일)
이전 댓글 표시
I have 30 RGB images, how can I identify each band intensity?
댓글 수: 0
채택된 답변
Ramanuja Jagannathan
2017년 8월 4일
I believe by band intensity you mean to separate R,G,B components from the image and get individual intensities. To do that, get individual 2-D matrices from the 3-D matrix. So, if 'img' is a variable containing the color image data.
R = img(:,:,1);
G = img(:,:,2);
B = img(:,:,3);
Hope this is what you are looking for.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!