Simulink Block Processing - internal start-of-frame indicator?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I'm using the Simulink block processing object for some computer vision work. I feed it frames (from a video), it splits those frames into small blocks that I can work on, and then it reassembles the frame afterwards.
However, I've found that I really need a "start of frame" (or "end of frame") indicator for the things that happen inside. For example, there's a block that averages the entire image by adding up all the blocks, and it obviously needs to know when one frame finishes and the next one starts. I know that it'd be much easier to do the averaging outside the block processing object, but that's not practical when it's implemented in hardware (because I don't get a whole frame at a time, I get a stream of pixels).
Is there some way to achieve this, or do I have to implement a counter inside that counts how many pixels have been provided and outputs a frame-sync signal after a full image has been transferred?
Cheers, Evan
0 commentaires
Réponses (1)
Voir également
Catégories
En savoir plus sur Computer Vision with Simulink dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!