How can I combine four bands into an image?

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

Accepted Answer

Image Analyst
Image Analyst on 6 Dec 2015
  3 Comments
Image Analyst
Image Analyst on 7 Dec 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.

Sign in to comment.

More Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!