Info

This question is closed. Reopen it to edit or answer.

Write a MATLAB function called equalize that implements the histogram equalization algorithm that was described in class.

6 views (last 30 days)
Write a MATLAB function called equalize that implements the histogram equalization algorithm that was described in class. The function header should have the form: function im2 = equalize(im) where im is a uint8 grayscale image and im2 is the uint8 output image. You can use any built-in MATLAB functions in your code except for histeq, which also does histogram equalization. A mark of zero (0) will be given if you use histeq. b. Download images “livingroom.tif” and “woman_darkhair.tif” from the course webpage and process them with both equalize and histeq functions. Include a printout of the images before and after equalization with both functions in your report. Also include a plot of the histogram before and after equalization with both functions. Comment on the outputs.

Answers (0)

This question is closed.

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!