簡易檢索 / 詳目顯示

研究生: 袁海威
Yuan, Hai-Wei
論文名稱: 將旅行推銷員問題和啟發式解法應用於ILDA檔案之路徑重整
Application of Travelling Salesman Problems and Heuristic Solutions for ILDA File Ordering Rearrangement
指導教授: 張鈞法
Chang, Chun-Fa
口試委員: 陳履恆
Chen, Lieu-Hen
葉正聖
Yeh, Jeng-Sheng
張鈞法
Chang, Chun-Fa
口試日期: 2022/07/25
學位類別: 碩士
Master
系所名稱: 資訊工程學系
Department of Computer Science and Information Engineering
論文出版年: 2022
畢業學年度: 110
語文別: 中文
論文頁數: 45
中文關鍵詞: 雷射投影旅行推銷員問題啟發式演算法
英文關鍵詞: ILDA, laser projection, travelling salesman problem, heuristic algorithm
研究方法: 主題分析比較研究內容分析法
DOI URL: http://doi.org/10.6345/NTNU202201435
論文種類: 學術論文
相關次數: 點閱:82下載:4
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 雷射投影被廣泛的應用在藝術展演或顯示裝置上,假如個人要使用雷射投影機,可以選擇使用小台的雷射投影機,因價格較便宜且功能也已夠使用,而就算是能一次處理大量資料的投影機,只要沒處理路徑規劃,投影出來之影像的品質也會受到輸入影像的影響,例如太多的點數使frame rate(又稱FPS)降低造成閃爍效果,或是路徑上有許多大角度的轉動造成線段扭曲,如果能透過預先重整輸入圖檔的路徑,就能提高成像品質也能減少控制雷射位置的元件的耗損。ILDA檔案的產生方式可使用圖像(jpg或png等等)轉換成svg格式再透過轉換軟體轉換而成或者直接從網路上下載公開的檔案,但經常會有不合邏輯或者不必要的路徑,於是本論文研究提出將原始圖檔的資料經處理後應用到有名的旅行推銷員問題(travelling salesman Problem)來重新調整路徑,以及使用啟發式解法(heuristic algorithm)求解,最後的結果除了能讓輸入圖不會有不必要的點和路徑外,更能夠提升雷射投影機之投射品質。

    Laser projection is commonly used in the performing arts or display devices. If we need to use laser projector for indivisuals, we can use a compact size laser projector. There is enough function of a compact size laser projector and it is cheaper than the big laser projector.
    Even if a laser projector can process large amount of data, it will affect the quality of laser projection result by the input data. For example, the frame rate (also known as FPS) will get lower and look flickering because of a lot of data in the input. Additionally, the visible line will be deformed because of the big angle rotation in the path. If we can rearrange the path of input data before projecting, we can get the higher quality of laser projection result and decrease mechanical components loss. In order to get the input file, we can transform the image data (jpg or png etc.) to svg format and then transform svg to ILDA format or downlod the public file from the Internet. However, it is commonly found illogical or unnecessary path in the file. Thus, in this thesis, we introduce the method to preprocess data and apply to travelling salesman problem (TSP) rearrange the path. Besides, we also use the heuristic algorithm to solve the TSP. After rearranging the path, we can get not only a clear input data but also a better laser projection result.

    第一章 緒論 1 1.1 研究背景 1 1.2 研究目的 2 1.3 研究意義 3 1.4 研究方法與流程 4 第二章 文獻探討 5 2.1 小型雷射投影機基本原理 5 2.1.1 基本介紹 5 2.1.2 Function Block 6 2.1.3 優缺點 7 2.2 ILDA Format 8 2.3 特殊路徑與迴路 11 2.3.1 Euler Path and Circuit 11 2.3.2 尋找 Euler Path and Circuit 12 2.3.2.1 Fleury’s algorithm 12 2.3.2.2 Heirholzer’s algorithm 13 2.3.3 Euler Circuit 數量 14 2.3.4 Hamilton Path and Circuit 14 2.4 旅行推銷員問題 (Traveling Salesman Problem) 15 2.4.1 問題說明 15 2.4.2 目前解法 16 2.4.2.1 最佳解 16 2.4.2.2 啟發式演算法 16 2.5 路徑重整與優化 18 2.6 文獻探討總結 19 第三章 研究方法設計 20 3.1 最佳解的可能性 20 3.2 現有方法缺點與可改進之處 21 3.3 研究方法概述 21 3.4 應用旅行推銷員問題 22 3.5 資料前處理 23 3.5.1 連續重複點 23 3.5.2 可接受的斜率偏差 23 3.5.3 無意義之路徑 24 3.6 建置資料結構 25 3.7 Cost Function 25 3.8 路徑規劃與方法 27 3.8.1 各個 Component 之路徑建構 27 3.8.2 Nearest Neighbor Search 28 3.8.3 Greedy Heuristic 28 3.9 優化方法 29 3.10 後處理 30 3.10.1 考量多 frame 30 3.10.2 插補點 31 3.11 研究方法總結 32 第四章 實驗結果與討論 33 4.1 實驗說明 33 4.1.1 實驗環境 33 4.1.2 評估標準 34 4.2 結果展示 34 4.2.1 與原圖之數據比較 35 4.2.1.1 總點數觀察 35 4.2.1.2 投射結果觀察 36 4.2.2 演算法結果與人為重整之差距 36 4.2.3 結果探討 37 第五章 結論與未來展望 39 5.1 結論 39 5.2 未來展望 40 參考文獻 41 附錄 A — 其餘輸出比較圖 43

    [1] International Laser Display Association, https://www.ilda.com.
    [2] ILDA Image Data Transfer Format Specification, ILDA Technical Committee, Nov.
    2014 Accessed:Feb. 2022 [Online] Available: https://www.ilda.com/resources/Stan-
    dardsDocs/ILDA_IDTF14_rev011.pdf.
    [3] Purkhet Abderyim, Osama Halabi, Tadahiro Fujimoto, Norishige Chiba,"Accurate and Efficient Drawing Method for Laser Projection", The Journal of the Society for Art and Science Vol. 7 No. 4 pp. 155 - 169.
    [4] M. Dror, “Arc Routing: Theory,Solution,and Applications", Kluwer Academic
    Publishers, USA, 2000
    [5] G. Ghiani and G. Improta,“The laser-plotter beam routing problem"Journal of the Operational Research Society, 2001, 52, pp 945–951
    [6] http://web.ntnu.edu.tw/~algo/Circuit.html#4
    [7] https://slaystudy.com/hierholzers-algorithm/
    [8] Christoph Sommer, CC BY-SA 3.0, via Wikimedia Commons,https:// com-mons.wikimedia.org/wiki/File:Hamiltonian_path.svg
    [9] Rajesh Matai, Surya Prakash Singh and Murari Lal Mittal,Traveling
    Salesman Problem: An Overview of Applications, Formulations, and
    Solution Approaches https:// cdn.intechopen.com/ pdfs/ 12736/ intech-
    traveling_salesman_problem_an_overview_of_applications_formulations_and
    _solution_approaches.pdf
    [10] Bogdan Giuşcă, CC BY-SA 3.0, via Wikimedia Commons,https:// up-
    load.wikimedia.org/wikipedia/commons/5/5d/Konigsberg _bridges.png
    [11] Abstract graph corresponding to bridges of Königsberg by
    en:User:Booyabazooka,https://upload.wikimedia.org/wikipedia/commons/9/96/K%C3%B6nigsberg_graph.svg
    [12] M. Iri, K. Murota and S. Matsui, `An approximate solution for the problem of
    optimizing the plotter pen movement'System Modeling and Optimization, Lecture Notes in Control and Information Sciences, Springer-Verlag: Berlin, 1982, pp 572–580.
    [13] G. Ghiani and G. Improta,`The laser-plotter beam routing problem'Journal of the Operational Research Society, 2001, 52, pp 945–951.
    [14] Tan, W.F. Lee, Lai Soon Abdul Majid, Zanariah Seow, Hsin-Vonn. (2012). Ant
    Colony Optimization for Capacitated Vehicle Routing Problem. Journal of Computer Science. 8. 846-852.

    下載圖示
    QR CODE