Image Quality Enhancement Using Pixel-Wise Gamma Correction