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 CenterFile Exchange에서 Computational Geometry에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by