How to segment the convex part of a surface??

1 Ansicht (letzte 30 Tage)
Violet P
Violet P am 7 Mai 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 :)

Antworten (0)

Kategorien

Mehr zu Computational Geometry finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by