rescale image in app when maximized

조회 수: 4 (최근 30일)
Josep Llobet
Josep Llobet 2022년 7월 20일
댓글: Image Analyst 2022년 7월 21일
Hi,
I am trying to maximize an image in MATLAB app when the App is maximized.
This mean, resize/rescale the image according tot the original position in the App.
Just maximizing the image show the next:
Original image:
Maximized figure:
The size does not change...
I've tried to use converting, for obtain an autoreflow app, but seems that it does not works for images:
then the new app:
Maximized:
This is not resized.
I looked for adjust by uiifigure function, but I don't realise the way.
I don't know how to resize the image then!
Thank you very much =)
  댓글 수: 2
Jonas
Jonas 2022년 7월 20일
you could set up a listener (e.g. addlistener with the PostSet option) to the figure's WindowState property
Josep Llobet
Josep Llobet 2022년 7월 21일
I don't understand the commands you purpose

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2022년 7월 20일
Use AppDesigner and it will automatically resize when you resize the figure.
  댓글 수: 2
Josep Llobet
Josep Llobet 2022년 7월 21일
I am using AppDesigner for the design of the figure
Image Analyst
Image Analyst 2022년 7월 21일
If you have any more questions, then attach your data and code to read it in (your .mlapp file) with the paperclip icon after you read this:

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by