adjust the contrast and sharpen the image