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)

 Akzeptierte Antwort

KALYAN ACHARJYA
KALYAN ACHARJYA am 4 Jul. 2019
Bearbeitet: KALYAN ACHARJYA am 4 Jul. 2019

1 Stimme

Considering, 'ghgvhh.png' image is a gray image, if not do conversion.
I=imread('ghgvhh.png');
imhist(I);
saveas(gcf,'hist_fig.png')

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by