how do i change the histogram color

21 visualizzazioni (ultimi 30 giorni)
juveria fatima
juveria fatima il 25 Ott 2018
Commentato: juveria fatima il 25 Ott 2018
for a rgb image i want to get red channel histogram in red color and 2nd channel histogram in green color and 3rd channel histogram in blue color
how do i do that
https://in.mathworks.com/matlabcentral/answers/181624-how-to-get-color-histogram-of-an-image?s_tid=answers_rc1-1_p1_MLT this is plot in above case but i want to change histogram color ,,i dont want plot

Risposte (1)

KSSV
KSSV il 25 Ott 2018
bar(rand(100,1),3,'facecolor','r');
  1 Commento
juveria fatima
juveria fatima il 25 Ott 2018
r_channel is satrting from -50 r_Channelblue is starting from 0 i want r_Channelblue in red color or r_channel starting from 0 axis

Accedi per commentare.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by