Help me how can identify intensity for each wavelength
1 回表示 (過去 30 日間)
古いコメントを表示
swetha Derangula
2017 年 8 月 1 日
編集済み: swetha Derangula
2017 年 8 月 5 日
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!