如何在Matlab GUI中显示图像的可滚动网格 [英] How to display a scrollable grid of images in matlab GUI

查看:422
本文介绍了如何在Matlab GUI中显示图像的可滚动网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Matlab GUI中显示图像的可滚动网格?

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

我想要类似下面显示的内容

I want something similar to what is shown below

此stackoverflow 帖子描述了一种通过将字符串"属性设置为指向图像的HTML代码.但这需要我将图像保存到磁盘,这不是我想要的选项,因为这些显示是动态触发的.

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.

推荐答案

您可以使用这个工具.在gui中,您应该可以滚动浏览.但是要在每个图像的下方都有标题,您可能需要编辑该工具.

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.

样本输出: 图像网格http://www.mathworks.in/matlabcentral/fx_files/22387/12/imdisp.jpg

这篇关于如何在Matlab GUI中显示图像的可滚动网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆