嵌入式千兆網(wǎng)測量相機的設(shè)計與實現(xiàn)
發(fā)布時間:2018-03-18 12:17
本文選題:運動捕捉 切入點:spartan6 出處:《大連理工大學(xué)》2015年碩士論文 論文類型:學(xué)位論文
【摘要】:現(xiàn)代動漫制作技術(shù)中的光學(xué)式運動跟蹤系統(tǒng),前端相機負責(zé)采集運動圖像,后端計算機負責(zé)根據(jù)圖像實時對標(biāo)記點進行識別、跟蹤和空間坐標(biāo)的計算,需要傳輸和計算的數(shù)據(jù)量非常大。尤其對于高分辨率高幀多目標(biāo)圖像的情況,更是對圖像數(shù)據(jù)傳輸和計算結(jié)果實時性的巨大考驗。為了簡化光學(xué)式運動跟蹤系統(tǒng)的結(jié)構(gòu),結(jié)合圖像測量算法,本文設(shè)計并實現(xiàn)了一種嵌入式千兆網(wǎng)測量相機。該系統(tǒng)通過圖像測量算法,在測量前端進行第一次坐標(biāo)計算,然后通過千兆網(wǎng)將運算結(jié)果傳輸?shù)接嬎銠C上,最后進行三維合成,簡化了系統(tǒng)結(jié)構(gòu),提高了系統(tǒng)性能。系統(tǒng)以FPGA為核心控制器,選擇了Xilinx公司的Spartan6芯片;利用嵌入式軟核MicroBlaze設(shè)計了片上系統(tǒng),用于實現(xiàn)圖像測量算法;利用千兆網(wǎng)作為傳輸鏈路,選擇三態(tài)以太網(wǎng)MAC核(TEMAC)和88E1111高速以太網(wǎng)收發(fā)器實現(xiàn)千兆網(wǎng)傳輸,將運動物體的空間坐標(biāo)結(jié)果發(fā)送到上位機;利用CMOS圖像傳感器實現(xiàn)圖像采集,選擇了Micron公司的MT9P031,圖像分辨率為640×480,幀率最高可達123幀/秒。圖像測量算法采用一種基于直線段的連通域快速檢測算法,首先在FPGA硬件電路內(nèi)進行濾波、二值化和提取邊緣坐標(biāo)信息,隨后片上系統(tǒng)根據(jù)邊緣坐標(biāo)信息實時計算數(shù)字圖像的多個標(biāo)志點的空間坐標(biāo),最后將空間坐標(biāo)發(fā)送到上位機。上位機的程序采用C++語言基于MFC進行開發(fā),利用WinPcap抓取網(wǎng)絡(luò)數(shù)據(jù)包,實現(xiàn)上位機和下位機之間的通信,上位機作為客戶端,下位機作為服務(wù)器。上位機可以實現(xiàn)對下位機的參數(shù)設(shè)置、命令控制,實時圖像顯示和坐標(biāo)軌跡顯示。測試結(jié)果表明,系統(tǒng)完成了對圖像的采集和傳輸,實現(xiàn)了對運動目標(biāo)坐標(biāo)的計算。該系統(tǒng)運行穩(wěn)定,測量數(shù)據(jù)精度較高,能夠?qū)崿F(xiàn)多運動目標(biāo)的實時跟蹤,具有很好的應(yīng)用價值。
[Abstract]:The optical motion tracking system in the modern animation production technology, the front-end camera is responsible for collecting the moving image, the back-end computer is responsible for the real-time identification, tracking and the calculation of the space coordinates according to the image. The amount of data that needs to be transmitted and calculated is very large. Especially for high-resolution and high-frame multi-target images, it is also a great test for image data transmission and real-time computing results. In order to simplify the structure of optical motion tracking system, Combined with image measurement algorithm, this paper designs and implements an embedded gigabit network measuring camera, which carries out the first coordinate calculation in the front end of the measurement by image measurement algorithm, and then transmits the result of the operation to the computer through the gigabit network. Finally, 3D synthesis is carried out, which simplifies the system structure and improves the system performance. The system takes FPGA as the core controller, chooses the Spartan6 chip of Xilinx Company, and designs a system on chip using embedded soft core MicroBlaze to realize the image measurement algorithm. Using the gigabit network as the transmission link, the three-state Ethernet MAC core (TEMAC) and the 88E1111 high-speed Ethernet transceiver are selected to realize the transmission of the gigabit network, the results of the spatial coordinates of the moving objects are transmitted to the upper computer, and the image acquisition is realized by using the CMOS image sensor. The MT9P031 of Micron Company is selected. The resolution of the image is 640 脳 480, and the frame rate can reach 123 frames / sec. The image measurement algorithm adopts a fast detection algorithm based on the straight line segment in the connected domain. Firstly, it is filtered in the FPGA hardware circuit. Binarization and extraction of edge coordinate information, and then the system calculates the spatial coordinates of multiple mark points of digital image in real time according to edge coordinate information. Finally, the space coordinate is sent to the upper computer. The program of the upper computer is developed with C language based on MFC, and the communication between the upper computer and the lower computer is realized by using WinPcap to capture the network data packet, and the upper computer is used as the client. The lower computer serves as the server. The upper computer can realize the parameter setting, command control, real-time image display and coordinate track display of the lower computer. The test results show that the system has completed the acquisition and transmission of the image. The system has the advantages of stable operation, high accuracy of measurement data, real-time tracking of multi-moving targets, and good application value.
【學(xué)位授予單位】:大連理工大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2015
【分類號】:TP391.41
【參考文獻】
相關(guān)期刊論文 前1條
1 孟華;謝小飛;叢培超;;多運動目標(biāo)高速實時跟蹤算法的實現(xiàn)[J];電視技術(shù);2012年03期
相關(guān)博士學(xué)位論文 前1條
1 劉瑞;運動捕捉數(shù)據(jù)智能處理算法研究及應(yīng)用[D];大連理工大學(xué);2012年
,本文編號:1629538
本文鏈接:http://sikaile.net/wenyilunwen/dongmansheji/1629538.html
最近更新
教材專著