MATLAB: How display a list of dicom images

dicom images

Hi every body here is the code that i used to fill a list by reading a certain number of dicom images. My question is how can i display this list the last command imshow .. dosn't work. thanks!
if true
dicomlist = dir(fullfile('data\folder','*.dcm'));
for cnt = 1 : numel(dicomlist)
I{cnt} = dicomread(fullfile('data\folder',dicomlist(cnt).name));
imshow(I,'DisplayRange',[]);
pause(3)
end
end

Best Answer

imshow(I{cnt},'DisplayRange',[]);