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 view (last 30 days)
Capture.JPG

Answers (1)

Andrey Kiselnikov
Andrey Kiselnikov on 27 Aug 2019
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!