arranging Dicom slices in proper order

25 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 DICOM Format 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by