Callback function is not executed anymore after using snapshot or step getting image frames
古いコメントを表示
I am using a GUI to start and stop my video camera. First I create the videoinput with
- vid = videoinput('avtmatlabadaptor64_r2009b',1,'F7M0_Raw8_1032x778');
- start(vid);
Everything works fine if I get image data in a loop data with:
image = getdata(vid,1,'single')
But this is extremely slow. So I changed this line into
image = getsnapshot(vid); (or alternatively into image = step(vid); using imaq.VideoDevice)
which both run 10 times faster. My problem is now that my GUI button press functions are not executed anymore when I press a button. The header of this function is: function buttonStop_Callback(hObject, ~, handles) Has anyone an idea how I can fix this problem?
2 件のコメント
Image Analyst
2012 年 6 月 26 日
Does the button move at all when you press it? Or change color or get a little dotted line in it?
Rainer Mautz
2012 年 6 月 26 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Image Preview and Device Configuration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!