研究生: |
涂凱婷 Kai-Ting Tu |
---|---|
論文名稱: |
基於Android之最佳化路徑演算法應用於自動繪圖機 Android Automatic Plotter by Path Optimization Algorithm |
指導教授: |
邱炳樟
Bin-Chang Chieu |
口試委員: |
王秀仁
Show-Ran Wang 黃忠偉 Jong-Woei Whang |
學位類別: |
碩士 Master |
系所名稱: |
電資學院 - 電子工程系 Department of Electronic and Computer Engineering |
論文出版年: | 2015 |
畢業學年度: | 103 |
語文別: | 中文 |
論文頁數: | 68 |
中文關鍵詞: | OpenCV 、路徑 、自動繪圖機 |
外文關鍵詞: | OpenCV, path, Automatic plotter |
相關次數: | 點閱:234 下載:0 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
本論文提出一個以Android為開發平台搭配上自動繪圖機的最佳化路徑演算法,實現一個即拍即傳的繪圖概念。主要以Android為開發語言,並配合OpenCV。主要提供三種圖片獲取方式:相機、內建圖片、從檔案選擇,將取得的圖片作適當的區域選擇,更改圖片大小使之符合繪圖機之範圍,緊接著去除雜訊,再經過邊緣偵測、細線化等處理,最後透過座標運算,得出相鄰的座標點,取出線段座標,並存成文字檔,透過wifi連接自動繪圖機,並使用php控制自動繪圖機的檔案更新與繪圖動作。
自動繪圖機由Raspberry pi與馬達所構成,透過Raspberry pi來操作馬達,以達到X、Y軸移動,達成繪圖之目的。
In recent years, smart phones are widely used in the world. There are three basic systems used in smart phones, which are Android, iOS, and Windows. Among them, Android system market share is the highest. It applies the open source for all users to access the system source code, so it is widely used in a variety of embedded consumer electronic products, which include wearable devices, smart phones, and smart appliance operating systems.
This paper aims to introduce the path optimization algorithm for automatic plotter based on Android development platform, to accomplish the purpose of taking pictures and transmitting data instantly. There are three sources of images: cameras, sample images and files. Users can set the image range, and obtain the coordinate information of images through the complicated image processing.
Finally, the coordinate information are sent to the plotter, and then the plotter will print the image. The automatic plotter consists of the Raspberry pi and two motors. The Raspberry pi processes the accessed data and controls the plotter to complete the picture.
[1] 資策會,http://www.find.org.tw/index.aspx.
[2] 財訊快報,http://www.investor.com.tw/onlineNews/index.asp.
[3] Smartphone Vendor Market Share, Q2 2014, IDC, 2014.
[4] 維基百科,http://zh.wikipedia.org/wiki/Android.
[5] 史丹利部落格,http://stenlyho.blogspot.com/2008/09/android
-architecture.html.
[6] Gonzalez. Woods,數位影像處理,繆紹綱(譯),培生,台北,2009。
[7] R. M. Haralick, S. R. Stenberg, and X. Huang, “Image analysis using mathematical morphology”,IEEE Transactions on Pattern Anal. Mach. Intell.,vol.PAMI-9, pp.532–550, 1987.
[8] Canny, “A Computational Approach To Edge Detection”, IEEE Trans. Pattern Analysis and Machine Intelligence, 8:679-714, 1986.
[9] 廖振偉、史天元、張崑宗,“細線化演算法比較”, 地籍測量, 20卷3期(2001.9)。
[10] C. M. Ma, A Thinning Algorithm on 2-D Gray-Level Images, in the proceedings of CVGIP, Taiwan, 2002.
[11] C. R. Dyer and A. Rosenfeld, Thinning Operations on Gray-Scale Pictures, IEEE Trans. Puttern Anal. Mach. In-rell. 1, pp. 88-89, 1979.
[12] E.L. Flores, “A fast thinning algorithm,” Proceedings of SBT/IEEE International Telecommunications Symposium, Vol. 2, pp. 594-599, Aug.1998.
[13] C.M. Holt, A. Stewart, M. Clint, and R.H. Perrott, “An improved parallel thinning algorithm,” Communications of the ACM, Vol. 30, No. 2, pp. 156-160, Feb. 1987.
[14] .T.Y. Zhang and C.Y. Suen, “A fast parallel algorithm for thinning digital pattern,” Communications of the ACM, Vol. 27, No. 3, pp. 236-239, Mar. 1984.
[15] Php,http://php.net/