How to get a variable slider in length?

조회 수: 1 (최근 30일)
Silvia
Silvia 2013년 5월 29일
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

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 5월 29일
set(handles.slider1,'Max',max_value)
set(handles.slider1,'Min',min_value)
  댓글 수: 1
Silvia
Silvia 2013년 5월 29일
Thank you Azzi but what I want to change is the physical length of the slider not the values of the slider.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 DICOM Format에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by