No products are associated with this question.
r = rand(20, 30); g = rand(20, 30); b = rand(20, 30); rgb = cat(3, r, g, b);
hi jan, r = rand(20, 30); g = rand(20, 30); b = rand(20, 30); rgb = [r, g, b]; imshow(rgb)
thats my code.. could you explain me whats the different between your code and mine. I am getting gray image as output. But,you are getting colored one. could you explain this technically. why i am not getting color image even though i concatenated those three basic colors.
Play games and win prizes!Learn more