corrected sharpenImage parameters