필터 지우기
필터 지우기

Imshow image flickering in appdesighner

조회 수: 5 (최근 30일)
Jenia
Jenia 2016년 12월 28일
댓글: Yoshi 2018년 1월 31일
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에서 Manage Products에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by