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 ?

 Accepted Answer

3 Comments

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 ?
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.
Ok,Thank you very much

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!