Non-local denoising in encrypted images