フィルターのクリア

Simulink Block Processing - internal start-of-frame indicator?

1 回表示 (過去 30 日間)
Evan Slatyer
Evan Slatyer 2015 年 3 月 13 日
回答済み: Evan Slatyer 2015 年 3 月 13 日
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

回答 (1 件)

Evan Slatyer
Evan Slatyer 2015 年 3 月 13 日
Never mind, got it. The Block Location input carries the required data.

カテゴリ

Help Center および File ExchangeComputer Vision with Simulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by