Save output picture of Histogram code

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)

 Respuesta aceptada

KALYAN ACHARJYA
KALYAN ACHARJYA el 4 de Jul. de 2019
Editada: KALYAN ACHARJYA el 4 de Jul. de 2019
Considering, 'ghgvhh.png' image is a gray image, if not do conversion.
I=imread('ghgvhh.png');
imhist(I);
saveas(gcf,'hist_fig.png')

Más respuestas (0)

Preguntada:

el 4 de Jul. de 2019

Editada:

el 4 de Jul. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by