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 vue (au cours des 30 derniers jours)
Capture.JPG

Réponses (1)

Andrey Kiselnikov
Andrey Kiselnikov le 27 Août 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!

Translated by