Denoising images using deep learning