资源简介
用matlab开发的计算给定曲面点云的,高斯和平均曲率图
代码片段和文件信息
function [KHPmaxPmin] = surfature(XYZ)
% SURFATURE - COMPUTE GAUSSIAN AND MEAN CURVATURES OF A SURFACE
% [KH] = SURFATURE(XYZ) WHERE XYZ ARE 2D ARRAYS OF POINTS ON THE
% SURFACE. K AND H ARE THE GAUSSIAN AND MEAN CURVATURES RESPECTIVELY.
% SURFATURE RETURNS 2 ADDITIONAL ARGUEMENTS
% [KHPmaxPmin] = SURFATURE(...) WHERE Pmax AND Pmin ARE THE MINIMUM
% AND MAXIMUM CURVATURES AT EACH POINT RESPECTIVELY.
% First Derivatives
[XuXv] = gradient(X);
[YuYv] = gradient(Y);
[ZuZv] = gradient(Z);
% Second Derivatives
[XuuXuv] = gradient(Xu);
[YuuYuv] = gradient(Yu);
[ZuuZuv] = gradient(Zu);
[XuvXvv] = gradient(Xv);
[YuvYvv] = gradient(Yv);
[ZuvZvv] = gradient(Zv);
% Reshape 2D Arrays into Vectors
Xu = Xu(:); Yu = Yu(:); Zu = Zu(:);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
.CA.... 395 2009-05-21 08:47 Gauss and Mean Curvature\surfature information.txt
.CA.... 1808 2010-10-15 21:13 Gauss and Mean Curvature\surfature.asv
.CA.... 1808 2010-10-15 21:15 Gauss and Mean Curvature\surfature.m
.CA.... 1813 2009-05-21 08:46 Gauss and Mean Curvature\surfature.txt
.C.D... 0 2010-10-15 21:08 Gauss and Mean Curvature
----------- --------- ---------- ----- ----
5824 5
相关资源
- sicktoolbox 提供激光雷达点云数据的读
- PointCloud3DReconstruction 实现了点云的三
- qulv 利用MATLAB处理图形图像
- bianjieXY 程序可以提取点云数据的特征
- 3D-Reconstruction-code-in-matlab 基于Matlab的
- 3D_MATCHing_SIFT matlab环境下的三维点云配
- calcMeshNormals 用于求取三维点云数据的
- image-inpainting 图像修复
- ICP 点云数据的配准算法
- gridtrimesh 通过MATLAB对点云数据生成三
- 经典的ICP点云拼接配准算法,matlab实
- 三维离散点云有向法矢重建和曲率(
- MATLAB读取显示txt格式点云带数据
- marlab绘制混凝土梁弯矩-曲率曲线
- ICP及改进方法点云配准
- getpointsXYZ.rar
- NURBS曲线曲率计算
评论
共有 条评论