Programmatically triggering custom preview function in Image Acquisition Toolkit

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,

Answers (1)

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.

Products

Release

R2018b

Tags

Asked:

on 29 Apr 2022

Answered:

on 3 May 2022

Community Treasure Hunt

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

Start Hunting!