arranging Dicom slices in proper order

15 visualizzazioni (ultimi 30 giorni)
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
  2 Commenti
Matthias Witkowski
Matthias Witkowski il 30 Gen 2020
There was this blog regarding how to read dicom volumes
Anjani kowsik Padmanabhuni
Thank you , i got the solution.

Accedi per commentare.

Risposte (1)

Divya Gaddipati
Divya Gaddipati il 13 Feb 2020
Hi,
Please refer to the following link on how to read and visualize dicom files:
Hope this helps!

Categorie

Scopri di più su DICOM Format in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by