User`s guide

From Video Device
Purpose Acquireliveimagedatafromimageacquisitiondevice
Library Image Acquisition Toolbox
Description
The From Video Device block lets you acquire i mage 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 config ure and preview t h e acq uisition 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 above 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.
The From Video D evice block supports the use of model referencing.
This feature lets your m odel include other Simulink models as modular
components.
15-2