Imshow image flickering in appdesighner

1 view (last 30 days)
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

Accepted Answer

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

Sign in to comment.

More Answers (1)

Jenia
Jenia on 30 Jan 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 Comment
Yoshi
Yoshi on 31 Jan 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

Sign in to comment.

Categories

Find more on Event Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!