How to segment the convex part of a surface??

1 回表示 (過去 30 日間)
Violet P
Violet P 2012 年 5 月 7 日
Hi,
How can I segment an area of a surface based on its normals?? or, in another word, how to segment the convex part of a surface??
for example: [X,Y] = meshgrid(-2:0.25:2,-1:0.2:1); ZZ = X.* exp(-X.^2 - Y.^2); surfnorm(X,Y,ZZ); [ix,iy,iz]=surfnorm(X,Y,ZZ); k=radtodeg(surfnorm(X,Y,ZZ));
Now, is it possible that I segment the convex part (the light green->red->light green part of the surface) by using k or [ix,iy,iz]?? I hope my question is clear!
TNX in advance :)

回答 (0 件)

カテゴリ

Help Center および File ExchangeComputational Geometry についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by