How to convert Binary Image slices to voxel based data and then find out the voxel coordinates?
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi everyone,
I am quite new to MATLAB and using it to carry out some research tasks. I have some binary image slices resulting from X-ray tomography of an object. I have already a MATLAB code to convert it to voxel based information and another code to reconstruct those binary image slices to 3D volume. My main task is to find the center coordinates of each voxel of 3D object and also the size of the voxel if any? I have to use this information to perform other operations.
Kindly any suggestions would be highly appreciated.
댓글 수: 0
답변 (1개)
Image Analyst
2016년 5월 31일
I don't know the difference between your two programs: "code to convert it to voxel based information" and "another code to reconstruct those binary image slices to 3D volume." Wouldn't those both be the same thing?
Anyway, once you have your 3D image, just use bwconncomp (or bwlabel) and regionprops to get the centroid of each blob. See my Image Segmentation Tutorial if you need guidance: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!