I am trying to run the image histogram equalization code but getting some errors. What's wrong with the coding? Please give some corrected code.

3 次查看(过去 30 天)
Capture.JPG

回答(1 个)

Andrey Kiselnikov
Andrey Kiselnikov 2019-8-27
Try this example:
image = imread('test.jpg');
[counts,bins] = imhist(image);
stem(bins,counts);
ps. if my help was useful please mark answer as accepted

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by