Histogram Equalization-Contrast Adjustment

20 views (last 30 days)
I have an x-ray image of a hand,I applied histogram equalization to make hand more clear.Hand became clear but also black background turn into light black. Is there any possible way to make hand clear and not to background,maybe with contrast adjustment? Thank you..

Answers (1)

Image Analyst
Image Analyst on 14 Jan 2024
Edited: Image Analyst on 14 Jan 2024
Don't use histogram equalization. It's a common beginner misconception that it helps. It is not needed.
First of all, it usually produces weird, unnatural looking images. If you want more natural images, use imadjust instead. It produces a linear remapping of gray levels.
Secondly, it doesn't help at all in segmentation. All it does is rearrange the gray levels to new values, essentially stretching the histogram in a non-linear way. That will absolutely not help in segmentation by thresholding. All it does is change the gray level that you select for the threshold. It will not make the thresholded binary image any different.

Community Treasure Hunt

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

Start Hunting!