從照片中學習燈光的配置

Learning Light Condition from Photos

檔案

日期

2018

類型

語言

中文

摘要

燈光設計對於室內場景拍攝、電腦動畫等應用都扮演著重要的角色,如何透過電腦的輔助來達到設計師對燈光效果的要求便成了電腦圖學領域的研究議題。我們提出了一個深度學習的方法,以訓練模型的方式學習照片的打光。在訓練模型的部份分成兩個階段,在第一個階段中,將輸入的影像進行本質分解,得到實體影像及光影影像;在第二個階段中,以光影影像分類出各個區域的光源應該開或關。
為了訓練模型,我們建立了室內場景的人造資料集,透過人造資料進行訓練,再對真實照片進行預測。藉由我們提供的介面,使用者可以在三維模型中選擇視角,我們會比對照片資料庫,選出最相近的視角,再透過虛幻引擎4畫出參考照片由訓練模型預測出的結果。最終,我們可以在三維模型得到與參考照片相近的燈光效果。
Lighting design plays an important role in indoor scene photographs, computer games, and movies. However, placing lights at the right positions is unintuitive and often demands a heavy trial-and-error process. Therefore, the way to save efforts from artists through computer intelligence is needed. In this thesis, we present a deep learning approach to learn the lighting parameters from photos that are taken by professionals. Specifically, in the beginning, the model decomposed the photo into reflectance and shading images. Then, it determines whether the light should be on or off according to the shading. We point out that indoor scene photos for the model training are synthesized by Unreal Engine 4 (UE4) because the lighting parameters will be used in the virtual world. Although the gap between the synthesized and the real professional photos is inevitable, in our experiment, the gap is small because photos rendered by UE4 are photo-realistic. To set lights by using our system, users first choose the viewpoint of a 3D indoor scene. Our system will retrieve photos in our database that are similar to the viewpoint and then display the photos on the screen. Users can select the photo they prefer and apply the lighting condition to the indoor scene.
顯示完整詮釋資料 統計資料

引用此條目

陳理琦 (2018). 從照片中學習燈光的配置. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/70513

BibTeX RIS

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

分享

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