how to show histogram of RGB
3 views (last 30 days)
Show older comments
and present 3channels simultaneously.
0 Comments
Answers (1)
Walter Roberson
on 7 Oct 2015
http://www.mathworks.com/help/matlab/ref/histogram.html#buiynvy-13 to see how to plot multiple histograms
number_of_bins = randi(25);
R = Yourimage(:,:,1);
G = YourImage(:,:,2);
histogram(R(:), number_of_bins);
hold on
histogram(G(:), number_of_bins);
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!