基於神經輻射場表示法及超網路之三維整體風格轉換模型

Stylizing 3D Scene via Implicit NeRF-­Based Representation and HyperNetwork

檔案

日期

2021

類型

語言

英文

摘要

風格轉換 (style transfer) 在電腦視覺研究中一直是熱門的主題。近年來,隨著處理三維資料 的模型興起,在三維數據上各種應用也變得更加豐富。以往的二維圖片風格轉換,透過汲取照 片中的內容 (content) 與風格 (style) 資訊,並對內容套用不同照片的風格,來達到轉換的效果。 然而,三維的資料形式與規模都與二維圖片大相徑庭。因此如何直接在三維資料上做風格轉換, 就成為了我們研究的目標:給予一個場景中幾個角度的照片,跟一張目標的風格照片,我們目 標產生出在三維場景中任意視角的風格轉換結果。直觀的來講,我們可以結合目前現有的新穎 視角合成 (novel view synthesis) 模型與風格轉換的方法來達到此目的。然而,直接結合兩種方 法常會導致合成出模糊的結果或是不同角度的照片會有不一致的問題。對此,我們利用了神經 輻射場 (neural radiance fields, NeRF) 中多視角一致性 (multi­view consistency) 的性質來解決 三維場景風格轉換後的不一致問題。並提出了「基於神經輻射場表示法及超網路之三維整體風 格轉換模型」。在模型中,我們設計了兩階段的訓練。在第一階段的訓練中,NeRF 裡的多層感 知器 (multilayer perceptron) 會將場景中不同角度的二維照片編碼 (encode) 成隱式 (implicit) 的 三維表示方式。其中多層感知器的運作方式為:給定一個三維座標,其會輸出一個色彩值以及 密度值 (代表是否有物體);而在第二階段的訓練中,我們以超網路 (hypernetwork) 所預測出來 的全連接層 (fully connected layers) 權重取代 NeRF 裡負責色彩值預測的多層感知器權重:我 們將目標風格圖片輸入到一個預訓練的變分編碼器 (variational autoencoder) 以將風格圖片投射 成一風格特徵向量。此風格特徵向量會進一步被當成超網路的輸入並轉換出與此風格相對應的 多層感知器權重,以學習到如何為場景套上特定的風格。最後,我們會得到一個套入目標風格 的三維場景,再從中去渲染出任意角度的照片。從實驗結果來看,我們的輸出結果不僅蘊含著 目標風格,也展現出比起其他模型在不同角度之間更高的一致性。
In this thesis, we aim to address the 3D scene stylization problem ­ generating stylized im­ ages of the scene at arbitrary novel view angles. A straightforward solution is to combine existing novel view synthesis and image/video style transfer approaches, which often leads to blurry re­ sults or inconsistent appearance. Inspired by the high quality results of the neural radiance fields (NeRF) method, we propose a joint framework to directly render novel views with the desired style. Our framework consists of two components: an implicit representation of the 3D scene with the neural radiance fields model, and a hypernetwork to transfer the style information into the scene representation. In particular, our implicit representation model disentangles the scene into the geometry and appearance branches, and the hypernetwork learns to predict the parameters of the appearance branch from the reference style image. To alleviate the training difficulties and memory burden, we propose a two­stage training procedure and a patch sub­sampling approach to optimize the style and content losses with the neural radiance fields model. After optimiza­ tion, our model is able to render consistent novel views at arbitrary view angles with arbitrary style. Both quantitative evaluation and human subject study have demonstrated that the proposed method generates faithful stylization results with consistent appearance across different views.
顯示完整詮釋資料 統計資料

引用此條目

Chiang, P.-Z. (2021). Stylizing 3D Scene via Implicit NeRF-­Based Representation and HyperNetwork. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/77949

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/77949