This code has been written in 2008 by me, Gholamreza Anbarjafari (Shahab). You can use this code for any research and academic purposes as far as you refer to the following work:
Hasan Demirel and Gholamreza Anbarjafari, "HSI Based Colour Image Equalization using Iterative nth Root and nth Power", 5th International Conference on Electrical and Computer Systems (EECS’08), Nov 27-28, 2008, Lefke, North Cyprus.
Feel free to contact us for any further information:
(c) Demirel and Anbarjafari -2008
The iterative proposed method for equalization is based on achieving a normalized image with mean of 0.5 in R, G and B channels. One can easily calculate the PSNR using the calcpsnr commend available in this address: http://www.mathworks.com/matlabcentral/fileexchange/22241