Draw a bounding box for a 3D plot
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi,
I am working on a skeletonization problem and have managed to extract the skeleton of a 3D image volume. The skeleton is a 3D logical matrix. I now want to plot the skeleton as a 3D plot and do so within a bounding box. An example of what I want to achieve is shown below. It is the table of contents image for this journal article. I request the MATLAB community to please advice on how to get a plot like this. Thank you,

Mahesh
댓글 수: 3
Tim
2020년 10월 30일
See my answer to: https://www.mathworks.com/matlabcentral/answers/631624-3d-image-production?s_tid=srchtitle , that shows 2 methods. If you are using volshow there probably isn't an easy way using line objects other than editing the values of the voxel edges. Alternatively, if your volume is small or sparse enough (looks like yours is pretty sparse) you can use something like VOXview and set 'bounding_box' to true.
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!