Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display a scrollable grid of images in matlab GUI

How can i display a scrollable grid of images in matlab GUI?

I want something similar to what is shown below

enter image description here

This stackoverflow post describes a way of displaying images in a uitable by setting the 'String' property to an HTML code pointing to an image. But this requires me to save the images to disk which is not an option i would like as these displays are fired up dynamically.

It would also be nice, if i could add a checkbox inside each image so the user can select a subset of them.

like image 414
cdeepakroy Avatar asked Aug 28 '13 22:08

cdeepakroy


2 Answers

You can use this tool. In the gui, you should be able to scroll through. But to have title below every image you might have to edit the tool.

Sample output: a grid of images http://www.mathworks.in/matlabcentral/fx_files/22387/12/imdisp.jpg

like image 195
Prashanth Avatar answered Nov 15 '22 13:11

Prashanth


The answer is here:

How can I use scrollbars in MATLAB figure windows when viewing large GUIs?

-> Note: This is a workaround, scrollbars are not available for Matlab-figures

I would suggest to use the tool Prashanth presented in his awnswer and combine it, by putting all elements within the panel.

like image 29
Lucius II. Avatar answered Nov 15 '22 12:11

Lucius II.