Plans for supporting "imageshow" in uifigures & app builder?

Hello! I'm wondering if the imageshow function will eventually be supported for displaying images in a uifigure? I have an app for real time image processing and I'd like the benefits of using imageshow embedded in the UI interface rather than imshow. It's much more responsive and has more display options, especially for large images.

 採用された回答

Adam Danz
Adam Danz 2025 年 6 月 11 日
編集済み: Adam Danz 2025 年 6 月 11 日

0 投票

imageshow can already be used in uifigures and apps. imageshow must be parented to a Viewer object and the Viewer object can be parented to a figure (including uifigure), Panel, GridLayout, or Tab object.
Example: viewer parented to uifigure
uif = uifigure();
viewer = viewer2d(Parent=uif); % or viewer3d
I = imread("pout.tif");
im = imageshow(I,Parent=viewer);
R2024b
Example: viewer parented to uipanel
uif = uifigure();
uip = uipanel(uif);
viewer = viewer2d(Parent=uip);
I = imread("pout.tif");
im = imageshow(I,Parent=viewer);

1 件のコメント

Jonathan
Jonathan 2025 年 6 月 11 日

Wonderful! I must have missed the viewer2d function in my googling. Thanks so much for your help, Adam!

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDevelop Apps Programmatically についてさらに検索

製品

リリース

R2024b

質問済み:

2025 年 6 月 11 日

コメント済み:

2025 年 6 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by