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.

1 次查看(过去 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

Community Treasure Hunt

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

Start Hunting!

Translated by