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

4 visualizaciones (últimos 30 días)
Jonathan
Jonathan el 11 de Jun. de 2025
Comentada: Jonathan el 11 de Jun. de 2025

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.

Respuesta aceptada

Adam Danz
Adam Danz el 11 de Jun. de 2025
Editada: Adam Danz el 11 de Jun. de 2025
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 comentario
Jonathan
Jonathan el 11 de Jun. de 2025

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Maintain or Transition figure-Based Apps en Help Center y File Exchange.

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by