Borrar filtros
Borrar filtros

How to convert Binary Image slices to voxel based data and then find out the voxel coordinates?

4 visualizaciones (últimos 30 días)
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.

Respuestas (1)

Image Analyst
Image Analyst el 31 de Mayo de 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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by