Read Image Coordinates
6 次查看(过去 30 天)
显示 更早的评论
Hi all ,
I need a way to read the (x,y,z,colors) of a 3D image .
Thanks
7 个评论
Image Analyst
2012-6-8
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.
采纳的回答
Walter Roberson
2012-6-8
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) );
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!