How to convert a binary 3d matrix to mesh.
이전 댓글 표시
I have a 3D binary matrix with 1 being filled volume, and 0 being empty. For example I've added a representation of this matrix filled with a sphere but the matrix could also have been filled with irregular content.

I would like to construct a mesh from 3D binary matrix volume, how would I go about it?
I have come across the isosurf function, but I was not sure if it was applicable or how to get my data in the right format.
Thanks.
채택된 답변
추가 답변 (1개)
Noor Aamer
2018년 5월 4일
0 개 추천
How can I get a 3D binary image from 2D binary image?
댓글 수: 1
Md Nurul Karim
2019년 11월 19일
Just stack the 2D binary images on top of each other and make a 3D binary matrix.
then you can watch it in Volume viewer app.
You can also extract surface out of it.
카테고리
도움말 센터 및 File Exchange에서 Scalar Volume Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



