Help me how can identify intensity for each wavelength
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
swetha Derangula
il 1 Ago 2017
Modificato: swetha Derangula
il 5 Ago 2017
I have 30 RGB images, how can I identify each band intensity?
0 Commenti
Risposta accettata
Ramanuja Jagannathan
il 4 Ago 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 Commento
Più risposte (0)
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!