中文说明:简单的图像网格划分软件,使用Matlab语言,能够自动对二维、三维图像进行网格划分,图像通过输入轮廓代码进行描绘。% Example: (Uniform Mesh on Unit Circle) fd=@(p) sqrt(sum(p.^2,2))-1; [p,t]=distmesh2d(fd,@huniform,0.2,[-1,-1;1,1],[]);% Example: (Uniform Mesh on Torus) fd=@(p) (sum(p.^2,2)+.8^2-.2^2).^2-4*.8^2*(p(:,1).^2+p(:,2).^2); [p,t]=distmeshsurface(fd,@huniform,0.1,[-1.1,-1.1,-.25;1.1,1.1,.25]);
English Description:
Simple image mesh generation software, use the Matlab language to automatically to mesh the two-dimension, three-dimension image, the image depicted by entering outline codes.% Example: (Uniform Mesh on Unit Circle) fd=@(p) sqrt(sum(p.^2,2))-1; [p,t]=distmesh2d(fd,@huniform,0.2,[-1,-1;1,1],[]);% Example: (Uniform Mesh on Torus) fd=@(p) (sum(p.^2,2)+.8^2-.2^2).^2-4*.8^2*(p(:,1).^2+p(:,2).^2); [p,t]=distmeshsurface(fd,@huniform,0.1,[-1.1,-1.1,-.25;1.1,1.1,.25]);