better version of DCT denoising