how can i perform histogram equalization for logical image

4 次查看(过去 30 天)
i have divided original image into 3 sub images(class is logical) and i want to perform histogram equalization on sub images.how can i do it,pls anyone help me

采纳的回答

Image Analyst
Image Analyst 2014-2-16
That does not make any sense at all. A logical/binary image is already at maximum contrast and does not need histogram equalization. If you did it, it would simply return the same image. Even if you ran histeq() on a gray scale image, that's even useless most of the time, though some people like to do it unnecessarily because they don't know any better. adapthisteq() can be useful to flatten out uneven background illumination, though it doesn't make sense for a logical image.

更多回答(1 个)

Nitin
Nitin 2014-2-16
There are lots of options for histogram equalization, for example you can read on histeq and adapthisteq

Community Treasure Hunt

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

Start Hunting!

Translated by