3D volume visualization through 2D slices of Tomography

조회 수: 4 (최근 30일)
Haimon
Haimon 2013년 8월 14일
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?

채택된 답변

Matt J
Matt J 2013년 8월 15일
You could use the CAT command, e.g.,
slice1=rand(10);
slice2=rand(10);
volume=cat(3,slice1,slice2);
  댓글 수: 13
Haimon
Haimon 2013년 8월 19일
The color scale is the same for all new slices.
My purpose is simple: I have a grayscale image, which is - in physics - directly related to the attenuation coefficient of my sample in relation to radiation, in this case, X-rays.
However attenuation coefficient depends on density and atomic number. So using some equations, I can obtain new images, one that is related to density and other related to atomic number. The color scale is just so I can know which colors assign to which values of density or atomic number.
To sum it up, I need this new color scale so I can identify those tiny variations of my variables. I don't really care how strange it may look, I just want to obtain my slices and my volume. The slices I have already obtained. I just need my volume to finish it.
I can even change my scale to make things easier, as long as I can identify, through a new scale, which colors are related to which values.
Matt J
Matt J 2013년 8월 21일
편집: Matt J 2013년 8월 21일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Particle & Nuclear Physics에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by