How to get a variable slider in length?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I have a volume of DICOM images which I show (with imshow) on an axes when I move a vertical slider. When I show another volume, the length of the images is different so I would need that the slider have the same length as the length of the image.
I know there is a property of the slider 'Position' where you can change the length of the slider. However I am having problems to relate that property with the size of the image I am showing (because I have the real size of the image).
Please I would be great if someone can help me with this. Thank you
0 Kommentare
Antworten (1)
Azzi Abdelmalek
am 29 Mai 2013
set(handles.slider1,'Max',max_value)
set(handles.slider1,'Min',min_value)
Siehe auch
Kategorien
Mehr zu DICOM Format finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!