Imshow image flickering in appdesighner

1 visualización (últimos 30 días)
Jenia
Jenia el 28 de Dic. de 2016
Comentada: Yoshi el 31 de En. de 2018
Hello,
for a long timeI have been using imshow to present video in matlab. It is done by presenting the 1st frame with imshow and after that, replacing CData property with new image data, and doing drawnow/pause to actually present it. This is giving a smooth video performance in GUIDE or just in a standalone figure.
Recently I tried to do the same in the new appdesighner. What I get however, with the same method,is a constant flickering of the image making it impossible to work with.
Any 1 have an idea how it can be worked around? Or is it an issue of immaturity of the appdesighner ? (imshow support in appdesighner was only added in 2016b ... )
Thansk in advance, Jenia

Respuesta aceptada

Sharmila Raghu
Sharmila Raghu el 30 de Dic. de 2016
I am able to reproduce this behavior.I work for MathWorks and I have forwarded this feedback to the appropriate product team.
  4 comentarios
Jenia
Jenia el 17 de En. de 2018
Yes there was. the flickering problem is gone. However now there is a problem of performance. Even by replacing CData in the imshow handle (which is the most effitient way I know to do it), that works great in GUIDE or just a regular figure, works very slow in appdesighner
Yoshi
Yoshi el 29 de En. de 2018
I am using 2016b and facing the same flickering problem. Could you share how you worked around this?

Iniciar sesión para comentar.

Más respuestas (1)

Jenia
Jenia el 30 de En. de 2018
It seems that the problem doesnt exist for me in 2017b using the same solution ( replacing CData of an imshow ). My original complain was about 2016b where imshow in appdesighner was only introduced. I failed to find any workaround back then.
To be fair in 2017b the flickering is gone but the speed is still aweful compairing to regular figure or GUIDE ( I'm talking spesifically about video playing ). I'm still not using it for video cause of this
  1 comentario
Yoshi
Yoshi el 31 de En. de 2018
Thank you for your response. I am disappointed that the appdesigner still lacks stability and many functionalities, I guess we will have to wait for several years before it completely replaces GUIDE

Iniciar sesión para comentar.

Categorías

Más información sobre Event Functions en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by