How can i read and show multiple DICOM images of CT in GUI MATLAB

2 次查看(过去 30 天)
Hi All
i have 299 DICOM images of CT.these DICOM imges are in folder. i can read and show one image at a time using this code.
'D3D_open_Callback(hObject, eventdata, handles)'
'handles.output = hObject;'
'[fn pn] = uigetfile('*.dcm','select dcm file');'
'complete = strcat(pn,fn);'
'set(handles.slider1,'string',complete);'
'I = dicomread(complete);'
imshow(I,[]);'
'guidata(hObject, handles);'
but i want to read all DICOM images into GUI. i want to open the menu editor, menu editor will be used just to browse the file and display all images in Axis and by clicking slider i wanna get new image one by one in GUI MATLAB.

采纳的回答

Amith Kamath
Amith Kamath 2013-8-19

更多回答(1 个)

Walter Roberson
Walter Roberson 2013-8-19
uigetdir() to get the directory name. After that, http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F

类别

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