Draw a bounding box for a 3D plot
Show older comments
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 Comments
Diego Hens
on 27 Oct 2020
Did you find a solution?
Tim
on 30 Oct 2020
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.
Mahesh Ganesan
on 31 Oct 2020
Edited: Mahesh Ganesan
on 31 Oct 2020
Answers (0)
Categories
Find more on Morphological Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!