Programmatically triggering custom preview function in Image Acquisition Toolkit

2 次查看(过去 30 天)
I've written a custom preview function to do some requisite image processing on the preview frames acquired from my video source while acquiring the raw (unprocessed) frames, and the whole thing is inside a user interface app that I've created with appdesigner.
I have saved off my acquried frames as a .mat file,. and now I would like to playback my acquired imagery through my app so that I can tweak my image processing function and validate some of my app's features using my acquired data.
Is there a way to either create a video source from my saved imagery or otherwise trigger preview events manually in a for loop from my loaded imagery back through my app?
Thanks,

回答(1 个)

Ivans Chou
Ivans Chou 2022-5-3
Alright, answering my own question. I've created an adaptor based on this example https://www.mathworks.com/help/imaq/adaptorkit/looking-at-the-demo-adaptor.html
And I'm able to play back my recorded data.

标签

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by