rescale image in app when maximized

4 visualizaciones (últimos 30 días)
Josep Llobet
Josep Llobet el 20 de Jul. de 2022
Comentada: Image Analyst el 21 de Jul. de 2022
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 comentarios
Jonas
Jonas el 20 de Jul. de 2022
you could set up a listener (e.g. addlistener with the PostSet option) to the figure's WindowState property
Josep Llobet
Josep Llobet el 21 de Jul. de 2022
I don't understand the commands you purpose

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 20 de Jul. de 2022
Use AppDesigner and it will automatically resize when you resize the figure.
  2 comentarios
Josep Llobet
Josep Llobet el 21 de Jul. de 2022
I am using AppDesigner for the design of the figure
Image Analyst
Image Analyst el 21 de Jul. de 2022
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:

Iniciar sesión para comentar.

Categorías

Más información sobre Feature Detection and Extraction en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by