How can I extract XYZ data from Isosurface?

조회 수: 1 (최근 30일)
Harrison S
Harrison S 2015년 10월 20일
댓글: Paul Safier 2021년 3월 25일
I have a 3D array of data. There is a distinct ellipsoid shape in the middle. I would like to extract the coordinate points that describe that ellipsoid. Using the isosurface function, I have found the ellipsoid, and it is correct. Is there a way to extract XYZ coordinate data from the isosurface function? Or, is there a more elegant way to extract 3D coordinate points from a 3D array of data where there is a specific value that comprises the shape?

채택된 답변

Image Analyst
Image Analyst 2015년 10월 20일
Why not just use find()?
[rows, columns, slices] = find(array3D == someValue);
  댓글 수: 9
Image Analyst
Image Analyst 2021년 3월 25일
Paul, since you said "ditto for me" I thought you had a similar problem as the original poster. But I guess not, so just ignore my answer.
Paul Safier
Paul Safier 2021년 3월 25일
On an unrelated note, @Image Analyst , I used your image segmentation tutorial a while back. It's pretty great! Thanks a lot for your contributions to this site!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Scalar Volume Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by