How to convert Binary Image slices to voxel based data and then find out the voxel coordinates?
2 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Image Analyst
on 31 May 2016
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
See Also
Categories
Find more on Biomedical Imaging in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!