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

2 ビュー (過去 30 日間)
yu sh
yu sh 2016 年 5 月 31 日
コメント済み: yu sh 2016 年 6 月 8 日
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.

回答 (1 件)

Image Analyst
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
  1 件のコメント
yu sh
yu sh 2016 年 6 月 8 日
Thanks Image Analyst, yes sorry they are actually linked with each other. Thanks for your support.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeBiomedical Imaging についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by