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