필터 지우기
필터 지우기

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 CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by