from Logarithmic Transformation of an image by Saurav Sahu
u have to use c=0.1 for better results

All files for Logarithmic Transformation of an image
/license.txt
/logarithmic.m

Contact us at files@mathworks.com