3D volume image reconstruction

7 vues (au cours des 30 derniers jours)
tabw
tabw le 30 Juil 2014
Modifié(e) : tabw le 30 Juil 2014
I have stacks of 2D images. Every slice has its thickness,0.7mm. how to reconstruct 3D Volume image?
What I want is like this
The 3D volume data have its height,width,length in x,y,z axes.
I don't know to do set the thickness of every slice and combine them without spacing in z axis. I have combined 2D stacks images into 3D images 512x512x630 512X512 pixel 630 frames
anyone can help? thanks

Réponse acceptée

Ahmet Cecen
Ahmet Cecen le 30 Juil 2014
How you would handle this problem depends on what you would like to achieve as the end result. Keep in mind, the "z axis" as you call in a 3D array is not actually the z-axis, so you don't need to worry about spacing in terms of indexing. Just stack every slice on top of each other with a for loop with a (:,:,i) indexing and obtain your 3D matrix. The actual question is what will you do after you have the 3D matrix? Depending on that there are several ways to proceed.
If for whatever reason, you need your voxels (3D pixels) to be cubic, so that x,y,z is scaled equally, a particularly lazy solution would be to use the function "imresize". You said your resolution in z direction is 0.7 mm, I would hazard a guess that your resolution within each slice is much higher. You want every element A(i,j,k) of the 3D image to have same length, so you would have to resize the image at each layer to the same resolution. (Afterwards stack the images).
Anywho, no more speculation. Your question is very broad for me to give any further details or specific code snippets. If you share details about the data, how it was obtained, what cleaning it went through, and what you want to do with the 3D matrix (feed it to a simulation? or just 3D visualization?) I should be able to help further.
  1 commentaire
tabw
tabw le 30 Juil 2014
Modifié(e) : tabw le 30 Juil 2014
Dimension Logical Size Physical Length Physical Origin Pixel Size / Voxel Size
X 512 241.92 µm 0.00 µm 0.473 µm
Y 512 241.92 µm 15.59 µm 0.473 µm
Z 70 28.95 µm -36.06 µm 0.420 µm
Maybe I misunderstand the data. It is Pixel Size/Voxel Size

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 3-D Volumetric Image Processing dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by