n = isonormals(V,vertices) assumes the arrays X, Y, and Z are defined as [X,Y,Z] = meshgrid(1:n,1:m,1:p) where [m,n,p] = size(V). n = isonormals(V,p) and n = isonormals(X,Y,Z,V,p) compute normals from the vertices of the patch identified by the handle p. n =...
在 MATLAB 中,`isonormals` 函数与 `isosurface` 函数虽功能相关,却各司其职。`isonormals` 用于计算体数据给定等值面的顶点法向量,而 `isosurface` 则专注于计算等值面本身。`isosurface` 常用于生成体数据的等值面,并以此绘制出 patch。然而,为提升视觉效果,特别是光照效果的平滑性,`isosurface` ...
Isonormals组函数在MATLAB中的使用函数功能:计算等值面顶点向量使用方法: n = isonormals(X,Y,Z,V,vertices) n = isonormals(V,vertices) n = isonormals(V,p) and n = isonormals(X,Y,Z,V,p) n = isonormals(...,negate) isonormals(V,p) and isonormals(X,Y,Z,V,p) 算例: Ex1 data = cat(3...
而 isonormals 可以利用原本生成等值面的体数据信息来计算梯度并插值得到法向量,所以会更加平滑,显示效果...
n = isonormals(V,vertices) assumes the arrays X, Y, and Z are defined as [X,Y,Z] = meshgrid(1:n,1:m,1:p) where [m,n,p] = size(V). n = isonormals(V,p) and n = isonormals(X,Y,Z,V,p) compute normals from the vertices of the patch identified by the handle p. n =...