Akzeptierte Antwort

KALYAN ACHARJYA
KALYAN ACHARJYA am 10 Jun. 2018
Bearbeitet: KALYAN ACHARJYA am 10 Jun. 2018

0 Stimmen

%Do the required operation (filtered as per your question) and plot (with " hold on" a statement) in the respective plot, your question having three plot in each graph.

I=imread('flower.jpg');
im_r=I(:,:,1);
im_g=I(:,:,2);
im_b=I(:,:,3);
subplot(311),plot(mean(im_r),'r','linewidth',2);
subplot(312),plot(mean(im_g),'g','linewidth',2);
subplot(313),plot(mean(im_b),'b','linewidth',2);

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by