The Noise2Noise method allows for training machine learning-based denoisers with pairs of input and target images where both the input and target can be noisy. This removes the need for training with clean target images, which can be difficult to obtain. However, Noise2Noise training has a major limitation: nonlinear functions applied to the noisy targets will skew the results. This bias occurs because the nonlinearity makes the expected value of the noisy targets different from the clean target image. Since nonlinear functions are common in image processing, avoiding them limits the types of preprocessing that can be performed on the noisy targets. Our main insight is that certain nonlinear functions can be applied to the noisy targets without adding significant bias to the results. We develop a theoretical framework for analyzing the effects of these nonlinearities, and describe a class of nonlinear functions with minimal bias. We demonstrate our method on the denoising of high dynamic range (HDR) images produced by Monte Carlo rendering. Noise2Noise training can have trouble with HDR images, where the training process is overwhelmed by outliers and performs poorly. We consider a commonly used method of addressing these training issues: applying a nonlinear tone mapping function to the model output and target images to reduce their dynamic range. This method was previously thought to be incompatible with Noise2Noise training because of the nonlinearities involved. We show that certain combinations of loss functions and tone mapping functions can reduce the effect of outliers while introducing minimal bias. We apply our method to an existing machine learning-based Monte Carlo denoiser, where the original implementation was trained with high-sample count reference images. Our results approach those of the original implementation, but are produced using only noisy training data.
翻译:Noise2Noise方法允许使用输入图像与目标图像对来训练基于机器学习的去噪器,其中输入图像和目标图像均可含有噪声。这消除了对干净目标图像进行训练的需求,而干净目标图像往往难以获取。然而,Noise2Noise训练存在一个主要局限:对含噪目标图像施加非线性函数会导致结果产生偏差。这种偏差的产生是因为非线性变换使得含噪目标图像的期望值不同于干净目标图像。由于非线性函数在图像处理中普遍存在,避免使用它们会限制可对含噪目标图像执行的预处理类型。我们的核心发现是:某些非线性函数可以在不显著增加结果偏差的前提下应用于含噪目标图像。我们建立了一个理论框架来分析这些非线性效应的影响,并描述了一类具有最小偏差的非线性函数。我们通过蒙特卡洛渲染生成的高动态范围图像去噪任务验证了所提方法。Noise2Noise训练在处理HDR图像时可能遇到困难,因为训练过程容易受异常值干扰而导致性能下降。我们研究了一种解决此类训练问题的常用方法:对模型输出图像和目标图像施加非线性色调映射函数以降低其动态范围。由于涉及非线性变换,该方法曾被认为与Noise2Noise训练不兼容。我们证明特定损失函数与色调映射函数的组合能够在引入最小偏差的同时有效抑制异常值影响。我们将该方法应用于现有的基于机器学习的蒙特卡洛去噪器,其原始实现需使用高采样数参考图像进行训练。我们的实验结果接近原始实现的性能,但仅使用含噪训练数据即可达成。