結構資訊優化的區域性影像修補技術
SERVI:Structure Enhanced Regional Video Inpainting
摘要
影像修補任務在近期取得顯著的進展。早期,卷積神經網路(CNN)架構被應用於檢索單一幀內的相似特徵,而最近引入的Transformer架構能夠加強時序上資訊的使用效率,透過同時檢索多幀的時序信息來推斷缺失區域最有可能的內容。儘管目前的研究方法大部分都能生成看似合理且流暢的內容,但修復物件的邊緣輪廓模糊與結構扭曲等不一致性問題仍然存在。為了解決這些問題,我們引入了一種漸進式修補方法。首先,影像被轉換到素描空間以降低複雜性,讓模型專注於幀內的直線和曲線邊緣,盡可能重建整體結構和輪廓。接著,將遮蔽的彩色影像被轉換到頻率域,使模型能夠學習更多全局顏色和紋理信息。同時,預先恢復的結構(線條和邊緣)被融入基於傅立葉的修補過程中,確保修補結果的細節和正確結構。通過廣泛的實驗分析,驗證了我們的模型在物件邊緣結構的還原上有明顯的進步,證實了漸進式方法的優勢。
The task of video inpainting has made considerable advancements recently. Earlier, CNN architectures were utilized within frames to identify similar feature cues. The recent introduction of Transformer enables a model to leverage temporal information from multiple frames to deduce the most probable content for missing regions. While current methods are capable of synthesizing seemingly plausible and seamless content, inconsistencies such as edge distortions and blurry contours may easily arise, sometimes lacking clarity and containing highly distorted structures. To remedy these problems, we introduce a progressive inpainting approach. First, videos are transformed into the sketch space to reduce complexity. Second, the model focuses on straight lines and curvilinear edges within frames, striving to restore the overall structures and contours. Third, the masked color video is transformed into the frequency domain, allowing the model to learn more global color and texture information. Concurrently, the pre-restored structures (line and edge) are infused into the Fourier-based inpainting process, ensuring fine and correct structures of the inpainited results. Through extensive experimental analyses, it is validated that our model outperforms state-of-the-arts in several metrics, confirming the advantage of the progressive method.