Help me how can identify intensity for each wavelength

 Accepted Answer

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

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

Community Treasure Hunt

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

Start Hunting!