amount:how much to increase sharpness
thrs:the threshold to not boost noise
