Clear Filters
Clear Filters

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 views (last 30 days)
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');

Answers (0)

Categories

Find more on Display Image in Help Center and File Exchange

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!