Effacer les filtres
Effacer les filtres

When playing a movie, can I add a user defined function to be called every frame?

1 vue (au cours des 30 derniers jours)
Yoni Sher
Yoni Sher le 26 Fév 2017
For a compressed sensing application I need to display an image and execute some commands in a synchronized manner at high speed - ideally at least 100Hz. The 'image' commands allow only about 20Hz. I can play a movie (using 'movie' or 'implay') at the required framerate, but I can't synchronize my commands to the frames. Adding a callback function to each frame would allow me to do this with ease.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by