Display array of image in a GUI
조회 수: 2 (최근 30일)
이전 댓글 표시
I have a set of images in an array, and I want them displayed in a GUI. I can display a specific image, but I can not display all of them. I am trying to display the image array in a way, that the displayed image changes as the user scrolls/clicks their way through the array. Any way I can do this? I am currently display the images in an axes and using imshow() to display it. I have been stuck for several days, and I have no idea what to search anymore to find some guide or example.
댓글 수: 1
답변 (1개)
Sid Parida
2018년 6월 6일
Hi Maria
I have attached two files:
- ImageGui.fig
- ImageGui.m
This creates a simple GUI and pressing left or right changes the images on the axes. You can add your own images by changing the handles.names variables in the ImageGui_OpeningFcn in ImageGui.m. The images should be in the same directory as the .fig and .m file.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!