How can I process a live video feed in in Simulink?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 10 Sep 2012
Modifié(e) : MathWorks Support Team
le 28 Nov 2016
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.
Réponse acceptée
MathWorks Support Team
le 28 Nov 2016
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Single-Rate Filters 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!