How do I load all DICOM images under I(:,:,n) in a single axes in GUI MATLAB either with slider or a pushbutton so that i can see every slices with a click?

2 次查看(过去 30 天)
Suppose I want to show these slices in axes1 only for the next steps, I am actually getting the last slices in my axes but all others are loading so how can I swipe through these slices either with a pushbutton or Slider so that I can see every slice.
I(:,:,n) = dicomread(fullfile(pathname,filename{n}));
figure, imagesc(I(:,:,n)), colormap(gray), colorbar, axis off, axis image, title('original image');

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Display Image 的更多信息

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by