3D volume visualization through 2D slices of Tomography
14 views (last 30 days)
Show older comments
I have some 2D images - reconstruction or transaxial slices of tomography - that I want to "put together" so I can build a 3D volume.
Does anyone know how to?
0 Comments
Accepted Answer
Matt J
on 15 Aug 2013
You could use the CAT command, e.g.,
slice1=rand(10);
slice2=rand(10);
volume=cat(3,slice1,slice2);
13 Comments
Matt J
on 21 Aug 2013
Edited: Matt J
on 21 Aug 2013
I think the bottom line is that the 3D volume data that you feed to the 3D viewer code must not be pre-divided into color components. Each slice of the volume A(:,:,i) must represent an intensity distribution only. However, the intensity does not necessarily have to be as originally reconstructed from the tomograph. It sounds like you could apply all the post-transformations you mention to the 3D intensity distribution and then call that final 3D array of intensities your input volume to the viewer.
If f I've understood it right, then the bottom-line solution is simply to avoid intermediately storing the data as bitmap. The bitmap format splits the image into color channels, which it sounds like you don't need. So, store the transformed volume data to a .mat file instead.
More Answers (0)
See Also
Categories
Find more on Particle & Nuclear Physics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!