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 commentaire

Badreddine Alane
Badreddine Alane le 23 Mai 2019
if you had found the way to plot this voxel image, please let me know i need it

Connectez-vous pour commenter.

Réponses (1)

Sean de Wolski
Sean de Wolski le 15 Avr 2015

0 votes

doc isosurface
Is probably a good first bet

3 commentaires

kmsimage
kmsimage le 22 Avr 2015
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)
Iuliu Ardelean
Iuliu Ardelean le 10 Juin 2022
works A1 okey-dokey thank you

Connectez-vous pour commenter.

Catégories

Question posée :

le 15 Avr 2015

Commenté :

le 10 Juin 2022

Community Treasure Hunt

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

Start Hunting!

Translated by