Polygon envelope of a 3D array
显示 更早的评论
I've written the attached function to find the polygon envelope of structured data in a 3D array. It works, but is very slow for large data sets. Does anyone know of a way to make it substantially faster?
Also, it is unfortunately limited to 3D array input (the Vert/Faces) approach enforces this limit. Does anyone see a way to generalize this to ND data?
If this were fast and generalized, I think it would make a nice addition to the File Exchange...
回答(1 个)
Image Analyst
2015-2-21
0 个投票
Any reason why you didn't just use the built in convhulln()?
4 个评论
Rob McDonald
2015-2-21
Image Analyst
2015-2-21
Then, can you then give us a high level description of how you're defining "envelope"? If your envelope can "dip inside" the convex hull and attach to arbitrary vertices inside, then there are tons of vertices it could connect to so how do you decide which is the "right" one? Why aren't they all right? It seems you could have hundreds or thousands of possible envelopes.
Rob McDonald
2015-2-22
Rob McDonald
2015-2-22
类别
在 帮助中心 和 File Exchange 中查找有关 Entering Commands 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
