Read Image Coordinates
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi all ,
I need a way to read the (x,y,z,colors) of a 3D image .
Thanks
7 Kommentare
Image Analyst
am 8 Jun. 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.
Akzeptierte Antwort
Walter Roberson
am 8 Jun. 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) );
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu DICOM Format finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!