MATLAB: Matlab image processing

rgb

How to merge the r,g and b components to get a single rgb image in matlab???

Best Answer

r = rand(20, 30);
g = rand(20, 30);
b = rand(20, 30);
rgb = cat(3, r, g, b);
Related Question