Azzera filtri
Azzera filtri

stacking images for tomographic representation

1 visualizzazione (ultimi 30 giorni)
pri
pri il 11 Giu 2013
I have taken the projection of an object for multiple angles.I have taken iradon, and now i have the cross sectional slices(as row/column matrix). I want to stack every 10th slice along Z in a kinda 3D visualization(with gap between the slices), for showing the corresponding cross sectional slice of the object(like the image specified in the link -http://stackoverflow.com/questions/6283918/matlab-merge-submatrices). I have no idea where to start with. Kindly give some suggestions.

Risposte (1)

David Sanchez
David Sanchez il 11 Giu 2013
[n_rows n_cols]=size(my_2D_image);
my_3D_image = zeros(n_rows,n_cols,Number_im/10); % initialize your 3D matrix
for k = 1:10:last_image
my_3D_image(:,:,(k+9)/10) = my_2D_image(k);
end
  1 Commento
pri
pri il 11 Giu 2013
Modificato: pri il 11 Giu 2013
Thank you so much for your response. this method stacks every 10th slice along Z of the new matrix. I need to visualize this 3D matrix like the image specified in that link. kindly give suggestions.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by