How can I process a live video feed in in Simulink?

4 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2012 年 9 月 10 日
編集済み: MathWorks Support Team 2016 年 11 月 28 日
I would like to process 30 frames/second, 12-bit color, 640x480 resolution video input. The processing would include applying a filter (2D Convolution or 2D FFT) to each frame, contrast stretching, and/or histogram equalization.

採用された回答

MathWorks Support Team
MathWorks Support Team 2016 年 11 月 28 日
There are two relatively simple options to import live video feed for processing.
1) The Video Input block under the Image Acquisition toolbox can be used to capture live video input. This block is based on ActiveX and supports code generation. l
2) Another alternative is to use DM642 EVM Video ADC block in Embedded Targets for Texas Instruments TMS320C6000™ DSP. For more information on this block refer to the following link:
<http://www.mathworks.com/help/releases/R2016a/supportpkg/texasinstrumentsc6000/ug/dm642evmvideoadc.html>
However processing, displaying or saving high resolution, high frame rate video is computationally intensive. Therefore performance is dependant on the complexity of the model and the hardware available.
For a given set of model and hardware limitations, it is still possible to achieve faster processing speed by optimizing the following parameters:
• Frame rate
• Resolution
• Video format
• Data types (Avoid datatype conversions. Use memory efficient datatypes in accelerated mode.)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSingle-Rate Filters についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by