How can i read and show multiple DICOM images of CT in GUI MATLAB
Show older comments
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.
Accepted Answer
More Answers (1)
Walter Roberson
on 19 Aug 2013
0 votes
uigetdir() to get the directory name. After that, http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
Categories
Find more on DICOM Format in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!