How can I do the histogram equalization?
1 次查看(过去 30 天)
显示 更早的评论
Hello
I think that the histogram equalization on the 3 components of a color image has the effect of increasing the contrast in order to facilitate the detection of the region of interest that is darker than the other part of the image. How can I do this using matlab? thanks
0 个评论
回答(2 个)
Aneesh Balaji
2012-11-14
Hey For a color image split into 3 components and perform histeq on each of them and then recombine them.
Image Analyst
2012-11-14
Using histeq() on individual color channels is not a good method. You will introduce color artifacts which may be severe. You're best off converting to hsv color space, then using histeq() or adapthisteq() on only the v channel, then recombine and transform back to rgb color space.
4 个评论
Image Analyst
2012-11-16
Histogram equalization is not necessary for that purpose. In fact, it's rarely necessary for anything. And it looks like you'd do best with a texture filter, like entropyfilt() or stdfilt(), at least for the one image you posted.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!