How can I combine four bands into an image?

can anyone suggest me how combining four bands (i.e Red, green,blue and NIR) into an image ?

 Réponse acceptée

Image Analyst
Image Analyst le 6 Déc 2015

0 votes

3 commentaires

shiraz karray
shiraz karray le 7 Déc 2015
Modifié(e) : shiraz karray le 7 Déc 2015
Thank you so much for your reply. But what i want is as follow: if i can found a function in MATLAB like "cat" which can help me to combine the four components into an image to display it ?
Image Analyst
Image Analyst le 7 Déc 2015
No. You can use cat(3,r,g,b) to combine 3 of them, but to get all 4 you'd have to get the three r,g, and b from a weighted sum of the 4, which is what the links I gave you show.
shiraz karray
shiraz karray le 8 Déc 2015
Ok,Thank you very much

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by