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 views (last 30 days)
Show older comments
![Capture.JPG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/235429/Capture.jpeg)
0 Comments
Answers (1)
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
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!