In this paper, we present the detailed algorithm of the Midway Image Equalization giving to a pair of images the same histogram while maintaining as much as possible their previous gray dynamics. The midway equalization is primarily designed for gray level images, but can be applied channel-wise to color images. This method is easy to implement, fast to compute, fully automatic and requires no parameter.
Source CodeThe source code and an online demo are accessible at the IPOL web page of this article 1 . The documentation is included in the archive. Basic compilation and usage instructions are included in the README.txt file. The demo permits to try the proposed method on several test images, and on any uploaded couple of images. A common drawback of the methods aiming at modifying the contrast of images is their tendency to create quantization artifacts. To reduce the quantization effect of the equalized images, we propose as an option to use the dithering method. In that case, it will be necessary to give the Gaussian noise standard deviation value as parameter. The outputs are the processed images.