-
大小: 2KB文件類型: .zip金幣: 1下載: 0 次發(fā)布日期: 2021-02-11
- 語(yǔ)言: Matlab
- 標(biāo)簽: 點(diǎn)云??matlab點(diǎn)云??3D??Normal??
資源簡(jiǎn)介
用于求取三維點(diǎn)云數(shù)據(jù)的法向量,我的人臉建模就是用的這個(gè),效果很好,但必須保證點(diǎn)云沒(méi)有重疊的,否則會(huì)出現(xiàn)嚴(yán)重錯(cuò)誤。
代碼片段和文件信息
function?mesh?=?calcMeshNormals(mesh?refNormal)
%?mesh?=?calcMeshNormals(mesh?refNormal)
%?
%?Author?:?Ajmal?Saeed?Mian?{ajmal@csse.uwa.edu.au}
%???????????Computer?Science.?Univ?of?Western?Australia
%
%?This?function?takes?3D?points?and?polygon?information?and?creates?a?new?mesh
%?from?it.
%
%??Arguments:?mesh?-?a?data?structure?containing?only?mesh.vertices?and?
%???????????????????????mesh.triangles
%?????????????refNormal?-?(optional)?vector?towards?the?sensor
%???????????????????????????default?is?[0?0?1]
%
%?Return:???mesh?-?a?complete?mesh?data?structure?with?the?following?fields
%???????????????vertices:?Nx3?vertex?coordinates
%???????????????triangles:?M?triangles?using?index?numbers?of?the?vertices
%???????????????resolution:?the?mean?edge?length?of?triangles
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????????5044??2013-07-16?19:39??calcMeshNormals.m
評(píng)論
共有 條評(píng)論