Imshow image flickering in appdesighner

1 次查看(过去 30 天)
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

采纳的回答

Sharmila Raghu
Sharmila Raghu 2016-12-30
I am able to reproduce this behavior.I work for MathWorks and I have forwarded this feedback to the appropriate product team.
  4 个评论
Jenia
Jenia 2018-1-17
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 2018-1-29
I am using 2016b and facing the same flickering problem. Could you share how you worked around this?

请先登录,再进行评论。

更多回答(1 个)

Jenia
Jenia 2018-1-30
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 个评论
Yoshi
Yoshi 2018-1-31
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Event Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by