User`s guide

19 Block Reference
19-2
From Video Device
Acquire live image data from image acquisition device
Library
Image Acquisition Toolbox
Description
The From Video Device block lets you acquire image and video data streams from image
acquisition devices, such as cameras and frame grabbers, in order to bring the image
data into a Simulink model. The block also lets you configure and preview the acquisition
directly from Simulink.
The From Video Device block opens, initializes, configures, and controls an acquisition
device. The opening, initializing, and configuring occur once, at the start of the model's
execution. During the model's run time, the block buffers image data, delivering one
image frame for each simulation time step.
The block has no input ports. You can configure the block to have either one output port,
or three output ports corresponding to the uncompressed color bands, such as red, green,
and blue, or Y, Cb, Cr. The previous figure shows both configurations.
Other Supported Features
The From Video Device block supports the use of Simulink Accelerator mode. This
feature speeds up the execution of Simulink models.