How to draw voxel image?

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

if you had found the way to plot this voxel image, please let me know i need it

Sign in to comment.

Answers (1)

doc isosurface
Is probably a good first bet

3 Comments

It doesnt seem to work, Any other head start?
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)
works A1 okey-dokey thank you

Sign in to comment.

Categories

Asked:

on 15 Apr 2015

Commented:

on 10 Jun 2022

Community Treasure Hunt

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

Start Hunting!