How to draw voxel image?
Show older comments
I have a 3D matrix of size 498*201*151 containing binary data(1s and 0s) How can I draw a voxel image out of this data?
1 Comment
Badreddine Alane
on 23 May 2019
if you had found the way to plot this voxel image, please let me know i need it
Answers (1)
Sean de Wolski
on 15 Apr 2015
doc isosurface
Is probably a good first bet
3 Comments
kmsimage
on 22 Apr 2015
Sean de Wolski
on 22 Apr 2015
define "it doesn't work" it does work for me:
x = rand(10,10,10)>0.5;
patch(isosurface(x,0.5),'FaceColor','r','EdgeColor','none')
view(30,30)
Iuliu Ardelean
on 10 Jun 2022
works A1 okey-dokey thank you
Categories
Find more on Image Processing Toolbox 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!