Combine 3 images ( R + G + B) in an RGB

25 views (last 30 days)
Fruc
Fruc on 23 May 2012
Hi
I have three separate images into each component (R, G, B). I want to put them together in a RGB image.
What would be the code?
Thank you.

Answers (1)

Image Analyst
Image Analyst on 23 May 2012
rgbImage = cat(3, R, G, B);

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!