以太網(wǎng)高幀測量攝像機(jī)的設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時(shí)間:2018-04-16 22:33
本文選題:多運(yùn)動(dòng)目標(biāo)跟蹤 + 高幀; 參考:《大連理工大學(xué)》2011年碩士論文
【摘要】:為了實(shí)現(xiàn)現(xiàn)代動(dòng)漫制作技術(shù),結(jié)合圖像測量和多運(yùn)動(dòng)目標(biāo)跟蹤算法,本文研制了一種以太網(wǎng)高幀測量攝像機(jī)。該系統(tǒng)利用圖像測量算法,通過多方位對多運(yùn)動(dòng)目標(biāo)實(shí)時(shí)跟蹤,獲得運(yùn)動(dòng)目標(biāo)的重心軌跡信息,通過以太網(wǎng)傳輸?shù)接?jì)算機(jī)上;利用三維合成技術(shù),將現(xiàn)實(shí)中的運(yùn)動(dòng)對象轉(zhuǎn)化為動(dòng)漫中的動(dòng)作,大大降低了三維動(dòng)作合成的復(fù)雜度。 系統(tǒng)以FPGA為核心控制器,選擇Xilinx公司XC3S250EPQ208(?)芯片;利用以太網(wǎng)作為傳輸鏈路,選擇W5300作為以太網(wǎng)控制器;利用CMOS圖像傳感器作為圖像采集單元,選擇Micron公司的MT9P031圖像傳感器。圖像分辨率為720*1280,幀率最高可達(dá)60fps,數(shù)據(jù)處理能力最高可達(dá)442Mbps,數(shù)據(jù)傳輸能力最高可達(dá)85Mbps。為了提高系統(tǒng)的工作效率,采用兩片SRAM作為緩存單元,兩片SRAM工作在“乒乓傳輸”模式。 上位機(jī)人機(jī)交互界面開發(fā)基于VC++6.0平臺(tái),能夠?qū)崿F(xiàn)對局域網(wǎng)中所有攝像機(jī)的訪問,采用UDP傳輸協(xié)議,每一臺(tái)相機(jī)作為主個(gè)服務(wù)器,上位機(jī)作為客戶端,通過指令建立鏈接,上位機(jī)可以設(shè)置測量攝像機(jī)的工作狀態(tài),調(diào)整圖像的曝光時(shí)間和二值化閾值等參數(shù)。當(dāng)系統(tǒng)工作在圖像模式時(shí),下位機(jī)上傳8bit位圖灰度圖像,當(dāng)系統(tǒng)工作在測量模式時(shí),下位機(jī)上傳視場中所有運(yùn)動(dòng)目標(biāo)的實(shí)時(shí)重心坐標(biāo)信息。系統(tǒng)最多可以對300個(gè)運(yùn)動(dòng)目標(biāo)進(jìn)行實(shí)時(shí)跟蹤。 為了解決運(yùn)動(dòng)目標(biāo)實(shí)時(shí)跟蹤難題,FPGA對采集到的圖像首先進(jìn)行中值濾波,濾去圖像中的噪聲,接著對圖像進(jìn)行二值化和邊緣提取,將圖像中運(yùn)動(dòng)目標(biāo)的邊緣坐標(biāo)信息存儲(chǔ)到SRAM中,最后通過重心計(jì)算模塊獲得每個(gè)運(yùn)動(dòng)目標(biāo)的實(shí)時(shí)重心位置,通過以太網(wǎng)傳輸?shù)接?jì)算機(jī)上。利用FPGA高速并行計(jì)算的特點(diǎn),所有的圖像處理和計(jì)算都在FPGA上完成,FPGA內(nèi)部采用流水線設(shè)計(jì)思想,提高了系統(tǒng)的運(yùn)行頻率和計(jì)算效率。通過測試,系統(tǒng)可以在16ms內(nèi)計(jì)算出所有運(yùn)動(dòng)目標(biāo)的重心坐標(biāo)。
[Abstract]:In order to realize the modern animation production technology, an Ethernet high frame measuring camera is developed by combining image measurement and multi-moving target tracking algorithm.The system uses the image measurement algorithm to track the moving object in real time, obtains the information of the center of gravity of the moving object, and transmits it to the computer via Ethernet.The motion object in reality is transformed into action in animation, which greatly reduces the complexity of 3D motion synthesis.The system takes FPGA as the core controller, and chooses Xilinx company XC3S250 EPQ208).Chip; use Ethernet as transmission link, select W5300 as Ethernet controller; use CMOS image sensor as image acquisition unit, select MT9P031 image sensor of Micron company.The resolution of the image is 720g 1280, the frame rate is up to 60fps, the data processing capacity is 442Mbpss, and the data transmission capacity is 85Mbps.In order to improve the efficiency of the system, two pieces of SRAM are used as buffer unit and two pieces of SRAM work in "ping-pong transmission" mode.The development of man-machine interface is based on VC 6.0 platform, which can access all cameras in LAN. UDP protocol is adopted. Each camera is used as the main server and the upper computer as the client, and the link is established by instruction.The upper computer can set the working state of the camera and adjust the exposure time and binarization threshold of the image.When the system works in the image mode, the lower computer uploads the gray image of the 8bit bitmap, and when the system is working in the measurement mode, the lower computer uploads the real-time barycentric coordinate information of all moving objects in the field of view.The system can track up to 300 moving targets in real time.In order to solve the problem of real-time moving target tracking, the median filter is used to filter the image, then the image is binarized and edge extracted, and the edge coordinate information of the moving object is stored in SRAM.Finally, the real-time center of gravity of each moving object is obtained by the center of gravity calculation module, and transmitted to the computer via ethernet.Using the characteristics of high-speed parallel computing of FPGA, all the image processing and computing are completed on FPGA. The pipeline design idea is adopted, which improves the running frequency and computing efficiency of the system.By testing, the system can calculate the barycentric coordinates of all moving targets in 16ms.
【學(xué)位授予單位】:大連理工大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2011
【分類號(hào)】:TP391.41
【引證文獻(xiàn)】
相關(guān)碩士學(xué)位論文 前3條
1 郭林鑫;CCD編碼曝光相機(jī)的設(shè)計(jì)[D];大連理工大學(xué);2013年
2 韓策;基于嵌入式圖像的人員識(shí)別系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[D];大連理工大學(xué);2013年
3 張靜;嵌入式圖像型火災(zāi)檢測系統(tǒng)的實(shí)現(xiàn)[D];大連理工大學(xué);2013年
,本文編號(hào):1760888
本文鏈接:http://sikaile.net/wenyilunwen/dongmansheji/1760888.html
最近更新
教材專著