§ 瀏覽學位論文書目資料
  
系統識別號 U0002-2002201121034100
DOI 10.6846/TKU.2011.00705
論文名稱(中文) 花窗玻璃藝術呈現之影像風格化
論文名稱(英文) Stained Glass Rendering for Image Stylization
第三語言論文名稱
校院名稱 淡江大學
系所名稱(中文) 資訊工程學系碩士班
系所名稱(英文) Department of Computer Science and Information Engineering
外國學位學校名稱
外國學位學院名稱
外國學位研究所名稱
學年度 99
學期 1
出版年 100
研究生(中文) 張寄園
研究生(英文) Chi-Yuen Chang
學號 697410321
學位類別 碩士
語言別 繁體中文
第二語言別 英文
口試日期 2010-12-28
論文頁數 51頁
口試委員 指導教授 - 林慧珍(hjlin@cs.tku.edu.tw)
委員 - 許秋婷(cthsu@cs.nthu.edu.tw)
委員 - 顏淑惠(shyen@cs.tku.edu.tw)
委員 - 徐道義(taoi@cc.shu.edu.tw)
委員 - 林慧珍(hjlin@cs.tku.edu.tw)
關鍵字(中) 花窗玻璃化
范諾圖
種子點
類神經網路
關鍵字(英) stained glass
Voronoi diagram
seed
Back-Propagation Neural Network (BPNN)
第三語言關鍵字
學科別分類
中文摘要
在教堂或其它建築物中常見到玻璃以色塊方式拼湊出圖案,而色塊與色塊之間有一寬度不等之線條區隔。本計畫的主題為發展一個影像藝術化與風格化之自動處理技術,也就是將影像轉為花窗玻璃化(stained glass)的技術,以期能在此領域有所貢獻,研究內容分為三個部分:第一部分為影像物件之分割;第二部分則是將影像中分割好的物件,進行顏色與紋理的比對來轉換顏色或紋理,第三部分提供對分割的邊線加粗呈現出如教堂玻璃的區塊邊框,進而達到影像如中古世紀教堂中的花窗玻璃之藝術風格化。
在影像分割的方法中,我們利用三種方法分割影像區塊,分別是范諾圖(Voronoi diagram) 分割法、以種子點為基礎做自動分割與人工分割。
在紋理與顏色的置換方面,我們從預先建立好的顏色與紋理影像資料庫取得參考影像,再從提出的數種方法之中擇一,以對分割好的輸入影像之每一區塊賦予想要的紋理與顏色。方法包含顏色全部取代或部分取代、紋理全部取代或部分取代、紋理與顏色全部取代或部分取代,而部份取代也有不同加權值可供選擇,紋理粗細亦可根據隨使用者喜好而調整。
對分割的邊線加粗呈現出如教堂玻璃的區塊邊框線,我們以類神經網路來訓練邊框線,以原分割的細線當輸入樣本,變粗後的邊框線當目標輸出樣本做訓練。
本論文所提之方法,提供使用者多種選擇:分割方法之選擇、紋理與顏色的置換法之選擇、選擇保留或不保留邊線、或是將邊線轉成粗邊框線。因而具相當高的彈性,也得到不錯的實驗結果。
英文摘要
We propose a flexible image stylization system for reforming a source image into a "stained glass" style or some other styles the users desire. It consists of three stages including image segmentation, color or texture allocation, and synthesis of calmes. Each stage provides some options for users to choose.
There are three different versions of image segmentation available for the users to choose, including automatic, semi-automatic, and manual versions. The automatic version randomly generates seeds in the image region, calculates the distance between each seed and each pixel, and then assigns each pixel to the nearest seed region to accomplish image segmentation. The semi-automatic version segments the image according to the seeds provided by the users, and then repeatedly adjusts the result by deleting or adding some seeds carried out by the user. The last version is simply manually performed by the users.
The step next to segmentation is color or texture allocation. Each segmented region is allocated with color or texture of some reference images chosen from a pre-built database of color and texture images. The proposed system provides many options for this allocation, allowing the users to select one from a variety of methods of texture or color allocation.
A unique feature of stained glass is that it is held together with lead, zinc, brass, or copper strips called calmes. We use a BPNN to train a calme generator using an image of line drawing as the input together with an image of the corresponding calme of the line drawing as the output. The users can choose to put or not to put the calme on the resulting images.
The proposed system is easy to use and very flexible. It provides many options for users to stylize an image into a variety of stylized results. Our experiments show that the proposed system can generate a wide range of satisfactory results.
第三語言摘要
論文目次
目錄	III
圖目錄	IV
第一章 緒論 1
1.1 研究動機與目的	 1
1.2 論文架構 3
第二章 相關文獻回顧 4
2.1 范諾圖(Voronoi Diagram) 6
2.2 依影像內容分割 8
第三章 本研究相關理論基礎 11
3.1 YCbCr色彩空間 11
3.2 lab色彩空間 13
3.3 倒傳遞神經網路(BPNN) 15
第四章 花窗玻璃風格化系統 17
4.1 研究方法概述 17
4.2 影像分割 22
4.2.1 范諾圖(Voronoi diagram) 22
4.2.2 手動分佈種子點 25
4.2.3 手動分割 26
4.3 賦予紋理或顏色 28
4.4 區塊邊框鑲邊 33
第五章 實驗結果與分析 35
第六章 結論與未來展望 42
參考文獻 43
附錄 A 英文論文 45

圖目錄
圖 1 范諾圖(Voronoi diagram)示意圖	  5
圖 2 D. Ashlock et al. 方法之一實驗結果。 6
圖 3 G. M. Faustino et al. 方法之一實驗結果。 7
圖 4 Y. Dobashi et al. 方法之一實驗結果。 7
圖 5 D. Mould方法之一實驗結果。 8
圖 6 V. Setlur et al. 方法之一實驗結果。 9
圖 7 S. Brooks 方法之一實驗結果。 10
圖 8 lab色彩空間模型 13
圖 9 倒傳遞神經網路架構 16
圖 10 花窗玻璃風格化系統流程圖 18
圖 11 影像原圖 18
圖 12 花窗玻璃風格化(范諾圖)	19
圖 13 花窗玻璃風格化(手動分佈種子點合併) 20
圖 14 花窗玻璃風格化(手動分割) 21
圖 15 八鄰居示意圖	 22
圖 16 密集種子點刪除過程 24
圖 17 范諾圖分割 25
圖 18 手動分佈種子分割再合併之結果 26
圖 19 手動分割結果 27
圖 20 顏色轉換結果(方法一) 29
圖 21 選定兩影像之點對應 (xR, yR) 與(xT, yT) 30
圖 22 紋理賦予範例 (方法二,w = 2) 30
圖 23 紋理賦予(方法三,w = 2) 結果 31
圖 24 紋理賦予(方法四,w = 2,k = 0.5) 結果	31
圖 25 顏色與紋理轉換結果 (方法五,w = 2,k = 0.5) 32
圖 26 上述五種方法混合使用轉換結果 33
圖 27 鑲邊之訓練樣本 34
圖 28 鑲邊線條測試結果 34
圖 29 各色鑲邊結果	 34
圖 30 系統介面(分割) 35
圖 31 系統介面(賦與顏色或紋理) 36
圖 32 系統介面(區塊邊框鑲邊)	36
圖 33 部份紋理資料庫 37
圖 34 使用單一參考紋理結果圖(一) 38
圖 35 使用單一參考紋理結果圖(二) 38
圖 36 使用單一參考紋理結果圖(三) 39
圖 37 多種方法與材質之實驗結果(一) 39
圖 38 多種方法與紋理之實驗結果(二) 40
圖 39 與其它方法比較(一) 41
參考文獻
[1]D. Ashlock, B. Karthikeyan, and K. M. Bryden, “Non-  
   Photorealistic Rendering of Images as Evolutionary   
   Stained Glass,” IEEE Congress on Evolutionary Computation 
   Sheraton Vancouver Wall Centre Hotel, Vancouver, BC, 
   Canada, pp. 2087-2094, 2006.
[2]G. M. Faustino and L. H. De Figueiredo, “Simple Adaptive 
   Mosaic Effects,” in Proceedings of SIBGRAPI2005, pp. 315-
   322, August 2005.
[3]Y. Dobashi, T. Haga, H. Johan, and T. Nishita. “A method 
   for creating mosaic images using Voronoi diagrams,” In 
   Proceedings of Eurographics 2002 Short Presentations, pp. 
   341-348, 2002.
[4]D. Mould, “A Stained Glass Image Filter,” in Proceedings 
   of the 13th Eurographics Workshop Rendering, pp. 20-25, 
   2003.
[5]D. Comanicu and P. Meer, “Mean shift: a robust approach 
   toward feature space analysis,” IEEE Trans. Pattern Anal. 
   Machine Intell. 24, 4 (May 2002), pp. 603-619.
[6]V. Setlur and S. Wilkinson, “Automatic Stained Glass 
   Rendering”, in Proceedings of CGI, LNCS 4035, pp. 682-
   691, 2006.
[7]S. Brooks, “Image-Based Stained Glass,” IEEE Transactions 
   on Visualization and Computer Graphics, Vol. 12, No. 6, 
   pp. 1547-1558, November/December 2006.
[8]Y. Deng and B. Manjunath, “Unsupervised Segmentation of 
   Color-Texture Regions in Images and Video,” IEEE Trans.   
   Pattern Analysis and Machine Intelligence, pp. 800-810, 
   2001.
[9]A. Hertzmann, C. Jacobs, N. Oliver, B. Curless, and D. 
   Salesin, “Image Analogies,” in Proceedings of ACM 
   SIGGRAPH 2001 Conf., pp. 341-346, 2001.
[10]K. Perlin, “An Image Synthesizer,” in Proceedings of 
    Computer Graphics Conf. (SIGGRAPH), pp. 287-296, 1985.
[11]E. Reinhard, M. Ashikmin, B. Gooth, and P. Shirly, 
    “Color Transfer between Images,” IEEE Computer Graphics 
    and Applications, Vol. 21, No. 5, pp. 34-41, 2001.
[12]D. Ruderman, T. Cronin, and C. Chiao, “Statistics of 
    Cone Responses to Natural Images: Implications for    
    Visual Coding,” J. Optical Soc. Am., Vol. 15, No. 8, pp.   
    2036-2045, 1998.
[13]Ethen Alpaydin, “Introduction to Machine Learning,” The 
    MIT Press, Cambrideg, Massachusetts, London, England, 
    2004.
[14]Hwei-Jen Lin, Shu-Yi Wang, Shwu-Huey Yen, and Yang-Ta 
    Kao, “Face Detection Based on Skin Color Segmentation 
    and Neural Network,” in Proceedings of the International 
    Conference on Neural Networks and Brain (ICNN&B’05), 
    Beijing, China, pp. 1144-1149, Oct. 13-15, 2005.
[15]http://www.imageafter.com/index.php
論文全文使用權限
校內
校內紙本論文立即公開
同意電子論文全文授權校園內公開
校內電子論文立即公開
校外
同意授權
校外電子論文立即公開

如有問題,歡迎洽詢!
圖書館數位資訊組 (02)2621-5656 轉 2487 或 來信