Hi,I creat histogram of picture on matlab. Now I wanna save that picture with code like imwrite. Which code is this? Histogram code: Imreade (ghgvhh.png) I=ghgvhh.png figure Imhist (I)

 Réponse acceptée

KALYAN ACHARJYA
KALYAN ACHARJYA le 4 Juil 2019
Modifié(e) : KALYAN ACHARJYA le 4 Juil 2019
Considering, 'ghgvhh.png' image is a gray image, if not do conversion.
I=imread('ghgvhh.png');
imhist(I);
saveas(gcf,'hist_fig.png')

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by