樹(shù)木三維動(dòng)態(tài)數(shù)據(jù)獲取與動(dòng)畫(huà)生成技術(shù)研究
本文選題:樹(shù) + 動(dòng)態(tài)參數(shù); 參考:《西北農(nóng)林科技大學(xué)》2017年碩士論文
【摘要】:真實(shí)感樹(shù)動(dòng)畫(huà)對(duì)于增加游戲感染力與沉浸感有重要意義。近幾年,為提高樹(shù)動(dòng)畫(huà)模擬的真實(shí)感,基于數(shù)據(jù)驅(qū)動(dòng)的樹(shù)動(dòng)畫(huà)模擬方法成為研究熱點(diǎn),而當(dāng)前基于數(shù)據(jù)驅(qū)動(dòng)的方法存在數(shù)據(jù)獲取設(shè)備昂貴、過(guò)程復(fù)雜,樹(shù)模型與真實(shí)模型差距較大、模擬樹(shù)木運(yùn)動(dòng)形式有限等問(wèn)題。針對(duì)上述問(wèn)題,本文采用廉價(jià)的Kinect體感設(shè)備,研究基于運(yùn)動(dòng)視頻和深度數(shù)據(jù)的樹(shù)木動(dòng)態(tài)參數(shù)提取方法和基于點(diǎn)云的樹(shù)三維模型構(gòu)建方法,然后將樹(shù)動(dòng)態(tài)參數(shù)與真實(shí)感樹(shù)模型輸入到樹(shù)動(dòng)力學(xué)模型,基于模態(tài)分析構(gòu)建動(dòng)畫(huà)模擬系統(tǒng)實(shí)現(xiàn)數(shù)據(jù)驅(qū)動(dòng)的真實(shí)感樹(shù)運(yùn)動(dòng)模擬。論文主要研究?jī)?nèi)容和結(jié)論如下:(1)利用Kinect V2搭建數(shù)據(jù)實(shí)時(shí)采集的試驗(yàn)平臺(tái)。通過(guò)PC工作站控制架設(shè)于三角支架上的Kinect設(shè)備,同步采集具有標(biāo)記點(diǎn)的樹(shù)枝干運(yùn)動(dòng)視頻流和深度信息流,并采取先寫(xiě)內(nèi)存、后寫(xiě)磁盤(pán)的存儲(chǔ)策略保存采集的運(yùn)動(dòng)數(shù)據(jù),以滿足高幀率連續(xù)運(yùn)動(dòng)數(shù)據(jù)的需求。試驗(yàn)表明,在陽(yáng)光條件較弱的室外,試驗(yàn)平臺(tái)獲取的運(yùn)動(dòng)視頻流和對(duì)應(yīng)的深度信息流的幀率可達(dá)30fps(frames per second),采集的運(yùn)動(dòng)數(shù)據(jù)滿足后續(xù)研究的需求。(2)針對(duì)樹(shù)木真實(shí)動(dòng)態(tài)參數(shù)獲取設(shè)備昂貴、過(guò)程復(fù)雜的問(wèn)題,提出基于局部相對(duì)偏轉(zhuǎn)角度量準(zhǔn)則的樹(shù)枝干振動(dòng)頻率與阻尼比獲取方法。該方法通過(guò)跟蹤樹(shù)枝干顏色特征標(biāo)記,提取各樹(shù)枝標(biāo)記點(diǎn)運(yùn)動(dòng)的二維軌跡;依據(jù)跟蹤結(jié)果構(gòu)建二維樹(shù)骨架運(yùn)動(dòng)模型,并計(jì)算子樹(shù)枝相對(duì)于父樹(shù)枝的局部偏轉(zhuǎn)角,通過(guò)快速傅里葉變換將時(shí)域振動(dòng)信號(hào)變換到頻域,頻域信號(hào)的一階振動(dòng)波峰對(duì)應(yīng)的頻率即為擬獲取的樹(shù)枝振動(dòng)頻率;利用阻尼比與一階振動(dòng)頻率振幅衰減的關(guān)系,采用半波法計(jì)算出阻尼比。結(jié)果表明,供試樹(shù)木的振動(dòng)頻率分別為2.4Hz和2.0Hz,樹(shù)的振動(dòng)頻率為樹(shù)的固有特征,不隨外力的改變而改變;而樹(shù)在運(yùn)動(dòng)過(guò)程中受到的阻尼與外力大小、樹(shù)的分支結(jié)構(gòu)有明顯的關(guān)系。(3)為解決數(shù)據(jù)驅(qū)動(dòng)樹(shù)動(dòng)畫(huà)的真實(shí)樹(shù)模型構(gòu)建問(wèn)題,基于空間殖民算法提取樹(shù)骨架,并提出樹(shù)層次結(jié)構(gòu)模型構(gòu)建及曲率精簡(jiǎn)骨架的方法?臻g殖民算法通過(guò)調(diào)整影響半徑、刪除閾值、骨架點(diǎn)距離和生長(zhǎng)角度4個(gè)參數(shù)迭代生成樹(shù)骨架;在設(shè)計(jì)樹(shù)骨架、樹(shù)枝干數(shù)據(jù)結(jié)構(gòu)的基礎(chǔ)上,依據(jù)樹(shù)骨架點(diǎn)的關(guān)系構(gòu)建樹(shù)枝模型與樹(shù)層次結(jié)構(gòu)模型;為保留樹(shù)枝彎曲特性,利用相鄰骨架點(diǎn)曲率對(duì)骨架進(jìn)行分類與精簡(jiǎn);基于管道模型估算樹(shù)枝干粗度,通過(guò)廣義圓柱體渲染最終的樹(shù)幾何模型。重建結(jié)果表明,基于樹(shù)點(diǎn)云重構(gòu)的樹(shù)三維模型與原點(diǎn)云吻合度較高,樹(shù)形態(tài)結(jié)構(gòu)自然,且樹(shù)冠細(xì)枝結(jié)構(gòu)突出,符合真實(shí)樹(shù)特征。(4)為實(shí)現(xiàn)真實(shí)感樹(shù)木運(yùn)動(dòng)模擬,基于提取的樹(shù)運(yùn)動(dòng)動(dòng)態(tài)參數(shù)、真實(shí)點(diǎn)云重建的樹(shù)模型,用簡(jiǎn)易模態(tài)法實(shí)現(xiàn)了基于數(shù)據(jù)驅(qū)動(dòng)的樹(shù)動(dòng)畫(huà)模擬。通過(guò)fBm噪聲模型構(gòu)建樹(shù)運(yùn)動(dòng)風(fēng)速場(chǎng),并基于空氣動(dòng)力學(xué)模型計(jì)算風(fēng)力;采用簡(jiǎn)化的彎曲梁模型表示彎曲樹(shù)枝干結(jié)構(gòu),振動(dòng)頻率和阻尼比作為時(shí)域運(yùn)動(dòng)方程的參數(shù)引入各占優(yōu)振動(dòng)模態(tài)的運(yùn)動(dòng)方程,通過(guò)求解簡(jiǎn)易模態(tài)分析方法的時(shí)域方程和空域方程實(shí)現(xiàn)樹(shù)枝形變彎曲角度計(jì)算;整合彎曲樹(shù)枝各節(jié)段的運(yùn)動(dòng)得到彎曲樹(shù)枝整體運(yùn)動(dòng),整合各彎曲樹(shù)枝運(yùn)動(dòng)得到樹(shù)整體運(yùn)動(dòng)。模擬試驗(yàn)結(jié)果表明,本文實(shí)現(xiàn)的樹(shù)動(dòng)畫(huà)模擬系統(tǒng)交互式操作風(fēng)向、風(fēng)速的同時(shí),可渲染幀率約為25~30fps的流暢樹(shù)運(yùn)動(dòng)動(dòng)畫(huà),效率較高;樹(shù)的運(yùn)動(dòng)形態(tài)隨風(fēng)力與風(fēng)向的改變而變化,中間層次長(zhǎng)樹(shù)枝彈性形變明顯,樹(shù)冠細(xì)枝隨父樹(shù)枝運(yùn)動(dòng)而運(yùn)動(dòng),模擬的樹(shù)運(yùn)動(dòng)符合冬季無(wú)葉玉蘭樹(shù)的特征;此外,對(duì)均勻點(diǎn)云及地面激光點(diǎn)云樹(shù)模型的運(yùn)動(dòng)模擬表明本文模擬系統(tǒng)具有普適性。
[Abstract]:Realistic tree animation is of great significance to increase the appeal and immersion of the game. In recent years, in order to improve the realistic sense of tree animation simulation, data driven tree animation simulation method has become a hot topic, and the current data driven method is expensive, the process is complex and the gap between the tree model and the real model is large. In view of the above problems, this paper uses cheap Kinect somatosensory equipment to study the method of tree dynamic parameters extraction based on motion video and depth data and the building method of tree 3D model based on point cloud. Then the tree dynamic parameters and real real tree model are input into the tree dynamics model, and the model is based on the model. The main research contents and conclusions of this paper are as follows: (1) build a test platform for real-time data acquisition by using Kinect V2. Control the Kinect equipment erected on the triangular scaffold by PC workstation, and synchronize the video stream of branch trunk motion video with marked point. The experiment shows that the frame rate of the motion video stream and the corresponding depth information stream can reach 30fps (frames per second), and the collection is carried out. The dynamic data meet the needs of subsequent research. (2) a method of obtaining the vibration frequency and damping ratio of branches based on the local relative deflection angle criterion is proposed to obtain the expensive and complicated process of the tree real dynamic parameters. This method is used to track the two dimensional trajectories of the movement of the branches of the branches by tracking the color characteristics of the branches of the branches. Based on the tracking results, the two-dimensional tree skeleton motion model is constructed, and the local deflection angle of the sub branches relative to the parent branch is calculated. The time domain vibration signals are converted to the frequency domain by the fast Fourier transform. The frequency of the corresponding vibration peaks of the first order vibration peaks of the frequency domain signals is the frequency of the proposed branch vibration, and the damping ratio and the first order vibration frequency amplitude are used. The damping ratio is calculated by the semi wave method. The results show that the vibration frequency of the tested trees is 2.4Hz and 2.0Hz respectively. The vibration frequency of the tree is the inherent characteristic of the tree and does not change with the change of the external force; and the damping and external force of the tree are obviously related to the branch structure of the tree in the process of movement. (3) the data drive is solved. The real tree model of dynamic tree animation is built. Based on the spatial colony algorithm, the tree skeleton is extracted and the tree hierarchy model is constructed and the curvature simplification method is proposed. The spatial colony algorithm generates the tree skeleton by 4 parameters, which are adjusting the influence radius, removing the threshold, the distance of the skeleton point and the growth angle, and designing the tree skeleton and the trunk number. Based on the structure, the branch model and the tree hierarchy model are constructed according to the relationship between the tree skeleton points. In order to preserve the bending characteristics of the branches, the curvature of the adjacent skeleton points is used to classify and simplify the skeleton, and the trunk roughness is estimated based on the pipeline model and the final tree geometry model is rendered through the generalized cylinder. The reconstruction results show that the tree is based on the tree. The three dimensional model of point cloud reconstruction is higher than the original point cloud kiss, the tree structure is natural, and the tree crown fine branch structure is prominent. (4) in order to realize the realistic tree motion simulation, the tree model based on the dynamic parameters of the extracted tree motion, the real point cloud reconstruction model, and the simple modal method to realize the tree animation model based on data driven. The wind velocity field of tree motion is constructed by the fBm noise model, and the wind is calculated based on the aerodynamics model. The simplified bending beam model is used to express the bending branch structure. The vibration frequency and damping ratio are used as the parameters of the time domain motion equation to introduce the motion square of each dominant vibration mode, and the time domain formula is solved by solving the simple modal analysis method. The bending angle of the branch is calculated by the equation of the range and the space domain, and the motion of the curved branch is obtained by integrating the motion of the flexural branches, and the whole motion of the tree is obtained by the integration of the curved branches. The simulation results show that the tree animation simulation system is interactive with the wind direction and the wind speed is at the same time, the rendering frame rate is about 25~30fps The fluency tree motion animation has high efficiency, the tree movement pattern changes with the change of wind force and wind direction, the elastic deformation of the long branch in the middle level is obvious, the tree crown fine branch moves with the parent branch, and the simulated tree motion is in accordance with the characteristics of no Ye Yulan tree in winter. In addition, the motion simulation table of uniform point cloud and ground laser point cloud tree model is also made. The simulation system of this article is universally applicable.
【學(xué)位授予單位】:西北農(nóng)林科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2017
【分類號(hào)】:TP391.41
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 趙春江;陸聲鏈;郭新宇;杜建軍;溫維亮;苗騰;;數(shù)字植物研究進(jìn)展:植物形態(tài)結(jié)構(gòu)三維數(shù)字化[J];中國(guó)農(nóng)業(yè)科學(xué);2015年17期
2 胡鵬程;郭焱;李保國(guó);朱晉宇;馬韞韜;;基于多視角立體視覺(jué)的植株三維重建與精度評(píng)估[J];農(nóng)業(yè)工程學(xué)報(bào);2015年11期
3 蔣艷娜;肖伯祥;郭新宇;楊寶祝;;植物建模與動(dòng)畫(huà)合成研究[J];系統(tǒng)仿真學(xué)報(bào);2015年04期
4 蔣艷娜;肖伯祥;郭新宇;楊寶祝;;基于視頻的植物動(dòng)畫(huà)合成方法[J];中國(guó)農(nóng)業(yè)科技導(dǎo)報(bào);2015年01期
5 胡少軍;耿楠;張志毅;楊沛;何東健;;基于稀疏圖像的真實(shí)樹(shù)交互式建模方法[J];農(nóng)業(yè)工程學(xué)報(bào);2014年09期
6 葛娟;李紅軍;張曉鵬;李華;;一個(gè)自適應(yīng)的植物枝干重建方法[J];系統(tǒng)仿真學(xué)報(bào);2013年05期
7 向澤銳;支錦亦;徐伯初;李娟;;運(yùn)動(dòng)捕捉技術(shù)及其應(yīng)用研究綜述[J];計(jì)算機(jī)應(yīng)用研究;2013年08期
8 肖伯祥;郭新宇;陸聲鏈;溫維亮;郭小東;;植物三維形態(tài)虛擬仿真技術(shù)體系研究[J];應(yīng)用基礎(chǔ)與工程科學(xué)學(xué)報(bào);2012年04期
9 唐衛(wèi)東;胡雪華;郭晨;劉昌鑫;盧章平;;基于視頻特征提取的虛擬植物動(dòng)態(tài)仿真研究[J];計(jì)算機(jī)應(yīng)用研究;2011年01期
10 周駿;陳雷霆;劉啟和;李艷梅;饒?jiān)撇?;樹(shù)的建模技術(shù)研究綜述與展望[J];計(jì)算機(jī)科學(xué);2010年06期
相關(guān)博士學(xué)位論文 前1條
1 賀磊盈;面向振動(dòng)采收的果樹(shù)枝干三維重建方法及其動(dòng)力學(xué)特性研究[D];浙江理工大學(xué);2014年
相關(guān)碩士學(xué)位論文 前5條
1 路平;核桃采摘振動(dòng)參數(shù)的研究[D];陜西科技大學(xué);2014年
2 趙鵬飛;基于IFS的樹(shù)木搖曳的動(dòng)態(tài)模擬方法研究[D];西北農(nóng)林科技大學(xué);2013年
3 劉運(yùn)婷;樹(shù)在風(fēng)中擺動(dòng)的可視化模擬方法研究[D];西安科技大學(xué);2010年
4 陸鋮;基于視頻的動(dòng)物行為智能分析系統(tǒng)關(guān)鍵技術(shù)研究[D];西北農(nóng)林科技大學(xué);2008年
5 羅勝華;樹(shù)隨風(fēng)動(dòng)的計(jì)算機(jī)模擬研究[D];西安科技大學(xué);2008年
,本文編號(hào):2082190
本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/2082190.html