Read Image Coordinates
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi all ,
I need a way to read the (x,y,z,colors) of a 3D image .
Thanks
7 commentaires
Image Analyst
le 8 Juin 2012
All that code does is to stack your slices into a volumetric gray scale image, and type out your inputs to the command window. It doesn't do anything like marching cubes.
Réponse acceptée
Walter Roberson
le 8 Juin 2012
x, y, z, and colors are inputs to the MarchingCubes routine.
You should be reading the data before you call MarchingCubes.
If your x, y, and z are equally spaced then
[x, y, z] = ndgrid( 1:size(c,1), 1:size(c,2), 1:size(c,3) );
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur DICOM Format dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!