How to segment the convex part of a surface??

1 view (last 30 days)
Violet P
Violet P on 7 May 2012
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 :)

Answers (0)

Categories

Find more on Computational Geometry in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!