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!