In this paper, we address a new problem of reversing the effect of an image filter, which can be linear or nonlinear. The assumption is that the algorithm of the filter is unknown and the filter is available as a black box. We formulate this inverse problem as minimizing a local patch-based cost function and use total derivative to approximate the gradient which is used in gradient descent to solve the problem. We analyze factors affecting the convergence and quality of the output in the Fourier domain. We also study the application of accelerated gradient descent algorithms in three gradient-free reverse filters, including the one proposed in this paper. We present results from extensive experiments to evaluate the complexity and effectiveness of the proposed algorithm. Results demonstrate that the proposed algorithm outperforms the state-of-the-art in that (1) it is at the same level of complexity as that of the fastest reverse filter, but it can reverse a larger number of filters, and (2) it can reverse the same list of filters as that of the very complex reverse filter, but its complexity is much smaller.
翻译:在本文中,我们处理的是扭转图像过滤器(可以是线性或非线性)效应的新问题。 假设过滤器的算法未知, 过滤器作为黑盒可用。 我们把这个反向问题表述为最大限度地减少局部补丁成本功能, 并使用总衍生物来接近梯度, 而梯度下降时使用梯度来解决这个问题。 我们分析影响Fourier域输出的趋同和质量的因素。 我们还研究在三个无梯度反向过滤器中应用加速梯度下降算法, 包括本文件中提议的反向过滤器。 我们介绍了评估拟议算法复杂性和有效性的广泛实验的结果。 结果显示, 提议的算法比最先进反向过滤器的复杂程度要高, 但它可以逆转更多的过滤器, (2) 它可以逆转与非常复杂的逆向过滤器相同的过滤器清单, 但其复杂性要小得多。