Help me how can identify intensity for each wavelength

1 view (last 30 days)
I have 30 RGB images, how can I identify each band intensity?

Accepted Answer

Ramanuja Jagannathan
Ramanuja Jagannathan on 4 Aug 2017
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.
  1 Comment
swetha Derangula
swetha Derangula on 5 Aug 2017
Edited: swetha Derangula on 5 Aug 2017
hello sir
Thanks for your suggestions! For Individual will prefer threshold, histogram etc.. I have different wavelengths images like 400nm to 700nm, how can I find out intensity for each wavelength , I will share you sample image for your reference
Thank you

Sign in to comment.

More Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by