How to adjust a image or video to display in GUI axes

3 visualizaciones (últimos 30 días)
Rajesh
Rajesh el 1 de Mzo. de 2013
Facing problem with image and video, here I unable to display video in axes range, when I start execute program the out is display out of GUI boundaries, I need to display output in inner boundaries.
  4 comentarios
Jing
Jing el 5 de Mzo. de 2013
When I just use imshow for image, it's in inner boundary...How did you do for a GUI axes?
Rajesh
Rajesh el 5 de Mzo. de 2013
after creating the GUI, I have to written code for image detection with normal procedure

Iniciar sesión para comentar.

Respuesta aceptada

Jan
Jan el 5 de Mzo. de 2013
Editada: Jan el 5 de Mzo. de 2013
You can use image() instead of imshow() to display an image in a specified AXES.
I do not know a solution for movie(), because according to the documentation it displays the movie centered on the figure specified by the inputs. A workaround would be FEX: WindowAPI to remove the window border of the figure, such that it looks, like it is an axes object of another figure. But then moving the underlying figure requires tricks to keep the position of the movie synchronized: You have to linkprop() the positions or something like that.
Did you search in the FileExchange already? Perhaps this helps already: FEX: movie-command.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by