arranging Dicom slices in proper order
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello Everyone, I am currently working on Dicom CT lung images. I am facing the following problem. when i read all the slices of dicom data and display them , the slices are not in order in the result. I reffered previous asked question on this. But din't sort it out so far. I would appreciate any help in this matter.
The code i am using is as follows
clear variables
clc
close all
names= dir('*.dcm');
for i= 1 : size(names,1)
I(:, :,1, i)=uint8( dicomread( names(i).name));
end
montage(I,[])
![lung.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/269096/lung.png)
2 commentaires
Réponses (1)
Divya Gaddipati
le 13 Fév 2020
Hi,
Please refer to the following link on how to read and visualize dicom files:
Hope this helps!
Voir également
Catégories
En savoir plus sur DICOM Format dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!