フィルターのクリア

How to display images dynamically in MATLAB GUI ?

16 ビュー (過去 30 日間)
RM
RM 2017 年 4 月 21 日
コメント済み: Walter Roberson 2017 年 4 月 22 日
For my project i need to do the following : When a value is entered, based on certain attributes, images are selected from a folder and displayed.
Now for each value number of images displayed will be different. How can I display these images on a single screen next to each other ?

回答 (2 件)

Image Analyst
Image Analyst 2017 年 4 月 21 日
You can use imshow(). Optionally before that you can use subplot(). Or you can use GUIDE and create axes in whatever locations you want and display the image in whatever axes you want.
This GUI will help the novice user get up to speed very quickly on using GUI-based applications. Everything is laid out in a very simple Step 1, Step 2, Step 3, etc. layout. It is a very good starting point for a typical image analysis application. This application uses GUIDE to do the user interface design, and has most of the basic controls such as buttons, listboxes, checkboxes, radio buttons, scrollbars, etc. It allows the user to select a folder of images, select one or more images and display them, to select a series of options, and to individually or batch process one or more images. The user can.....
  3 件のコメント
Image Analyst
Image Analyst 2017 年 4 月 22 日
Not sure what version you have, and I don't use App Designer (yet), but until the current or last version, App Designer did not have the capability to have axes. Please upgrade to the current version R2017a.
Walter Roberson
Walter Roberson 2017 年 4 月 22 日
appdesigner has uiaxes starting from R2016a.

サインインしてコメントする。


Walter Roberson
Walter Roberson 2017 年 4 月 22 日
You have two choices:
  1. You can use a single uiaxes(), and provide (computed) XData and YData values to image() in order to place the images beside each other; or
  2. You can use multiple uiaxes(), each of which you compute the Position for (in pixels), and then use image() without any XData or YData values.

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by