Help me how can identify intensity for each wavelength
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
swetha Derangula
le 1 Août 2017
Modifié(e) : swetha Derangula
le 5 Août 2017
I have 30 RGB images, how can I identify each band intensity?
0 commentaires
Réponse acceptée
Ramanuja Jagannathan
le 4 Août 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 commentaire
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!