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

조회 수: 3 (최근 30일)
Jonathan
Jonathan 2025년 6월 11일
댓글: Jonathan 2025년 6월 11일

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일
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개)

카테고리

Help CenterFile Exchange에서 Maintain or Transition figure-Based Apps에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by