Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

That's what histogram equalization is for. Here is a link for global histogram equalization and at here is an example with a local histogram equalization method. If you want to do it on separate image channels (e.g. RGB) use split to get the channels and apply the equalization on each channel. Then use merge() to make an image out of the changed channels.