how to display images in a tiff file using one axis and control using slider
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Arjun Chawla
le 11 Déc 2017
Commenté : Stelios Fanourakis
le 29 Mai 2018
in a gui of axes and two push buttons, i have to display multiple images in axes and to view them one by one using slider that can navigate like a scroll bar horizontally.
1 commentaire
Stelios Fanourakis
le 29 Mai 2018
@Arjun. Is your code working? Can you please upload the .fig to run it?
Réponse acceptée
Walter Roberson
le 11 Déc 2017
https://www.mathworks.com/matlabcentral/answers/352254-adjusting-slider-to-scroll-trough-each-image-in-3d-stack-in-gui
Might help
5 commentaires
Walter Roberson
le 21 Déc 2017
I suggest you write your slider callback to get the current Value of the slider, and to pass it to another function "FUN2" to do the control of the image display.
I then suggest you write a timer callback that gets the current slider position, increments it, and calls "FUN2" with the new value to implement the image display.
If not a timer callback, then loop through incrementing the slider positions and calling FUN2 each time.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!