need a code for a slider that can show different images for a volume of dicom images

2 views (last 30 days)
hi, i'm creating a GUI. i have a folder of images (X x Y x Z) showed in an axes (axes1). Now i need a slider for display the image (on the z axis) once at time in the axes1.
please answer me, thanks
  4 Comments
clara
clara on 1 Mar 2020
I’m using the guide. I’ve already loaded and showed the first image on the axes1 With a button. Now I need a slider to display the other images

Sign in to comment.

Answers (1)

Guillaume
Guillaume on 1 Mar 2020
How can I use the volume viewer ? I need a slider
I don't think you can integrate in your own GUI, it's already a GUI on its own, so if that's what you're after it's not going to help. But if you just want to visualise slices of a 3D volume, the volume viewer has got you covered. It has sliders built-in to show individual slices in all 3 axes.
You'd start the volume viewer with:
VolumeViewer(your3Dmatrix);
or in the App Tab, select the Volume Viewer app.

Tags

Community Treasure Hunt

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

Start Hunting!