Question

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.

Was it helpful?

Solution

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

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top