How to find elements of a 3d matrix inside a volume

조회 수: 3 (최근 30일)
Ashli
Ashli 2013년 4월 10일
Hi all, Does anyone has any idea how can I find the elements of a 3d matrix located inside a volume defined by boundary faces? any comment is appreciated,

답변 (2개)

Sean de Wolski
Sean de Wolski 2013년 4월 10일
편집: Sean de Wolski 2013년 9월 19일
Hi Ashli,
This utility will "voxelise" your mesh. Then you can use that image as a logical index into your 3d image:
Also, on the off chance that all of your objects are convex, then there is an approach to this with vert2con() on the FEX that will quickly allow you to identify whether a voxel is inside the vertices.
More

Johannes Korsawe
Johannes Korsawe 2013년 9월 19일
If your volume is tesselated with triangles and watertight, you might be able to use intriangulation from the FEX.
Regards, Johannes

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by