how to plot image for rgb values in matlab?
8 次查看(过去 30 天)
显示 更早的评论
I have RGB values for green, red and blue. Now I want to convert this RGB values into color image and plot all the colors in the same plot starting from red, then green and blue along the x-axis.
2 个评论
Guillaume
2018-2-16
Neither of the two things you are asking are clear. What does "convert this RGB values into color image" actually mean?
Here are two RGB values:
rgb(1, :) = [0 1 0]
rgb(2, :) = [1 0 0]
What sort of image would you want from that?
Similarly, what does " plot all the colors in the same plot" actually mean? What gets plotted against what?
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!