Conversion of x, y, z vectors to surf usable matrices (Matlab 2009a)

1 次查看(过去 30 天)
Hi.
Sorry if the title is a little confusing. I'll try to elaborate in here:
What I have is three vectors, approprietly named x, y, and z. Each element of each vector represents a point on the surface of an object. For example, x(1), y(1), and z(1) represent a location on the surface. The shape itself is unusual and there is no order to the listing of the points (ie not sorted in ascending or decending x, y, or z).
What I'm wondering is if there is way to create three matrices that would reconstruct this object with the surf function.
Thanks for any help that can be provided.

回答(1 个)

Walter Roberson
Walter Roberson 2011-10-26
No, not with only that information. That is attempting a surface reconstruction from a point cloud. Especially with you saying the shape is unusual, you need to have some kind of rules or data structure about how the points connect to each other.
Some people use "alpha shapes" for surface reconstruction. I'm not sure that would be suitable for your case, but you could look into that.
  1 个评论
Braden
Braden 2011-10-26
Thanks.
The image is of a spinal column, something that isn't exactly simple to create a structure for. I'm guessing "alpha shapes" aren't going to be too common for what I'm looking to put together.
Would you have any advice as to other methods or how to create your own "alpha shape"?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by