Read Image Coordinates
조회 수: 8 (최근 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개)
참고 항목
카테고리
Help Center 및 File Exchange에서 DICOM Format에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!