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)

 채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 7월 4일
편집: KALYAN ACHARJYA 2019년 7월 4일

1 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Histograms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by