基於去污變壓器模型之盲圖像修復
Decontamination Transformer for Blind Image Inpainting
摘要
盲圖像修復是一個不需要在使用時提供說明損壞區域的遮罩(mask)並從損壞的圖像直接來進行修復內容的任務。因為大多數現存的圖像修復方法往往會受到複雜的汙染(contamination)影響,我們提出了一個首先預測實數的遮罩(mask)和汙染物(contaminant)、並使用它們來去除在損壞圖像裡汙染物(contamination)成份、進而提升圖像修復效果的模型。此外,我們的圖像修復網絡整合且運用了變壓器(transformer)裡的注意力機制以提升整體影像語義的一致性。我們執行了廣泛的實驗去驗證現存之盲圖像修復和非盲圖像修復方法和我們的方法之間的比較,以說明我們方法的效用並顯示了我們的方法對於不同來源汙染物具有足夠的通用性。
Blind image inpainting aims at recovering the content from a corrupted image in which the mask indicating the corrupted regions is not available in inference time. Inspired that most existing methods for inpainting suffer from complex contamination, we propose a model that explicitly predicts the real-valued alpha mask and contaminant to eliminate the contamination from the corrupted image, thus improving the inpainting performance. To enhance the overall semantic consistency, the attention mechanism of transformers is exploited and integrated into our inpainting network. We conduct extensive experiments to verify our method against blind and non-blind inpainting models and demonstrate its effectiveness and generalizability to different sources of contaminant.