Display binary, intensity, or RGB images or video streams
Sinks
visionsinks
The Video Viewer block enables you to view a binary, intensity, or RGB image or a video stream. The block provides simulation controls for play, pause, and step while running the model. The block also provides pixel region analysis tools. During code generation, Simulink® Coder™ software does not generate code for this block.
Note
The To Video Display block supports code generation.
See the following table for descriptions of both input types.
Input | Description |
---|---|
Image | M-by-N matrix of intensity values or an M-by-N-by-P color video signal where P is the number of color planes. |
R/G/B | Scalar, vector, or matrix that represents one plane of the RGB video stream. Inputs to the R, G, or B ports must have the same dimensions and data type. |
Select File > Separate Color Signalsto set the input to either Image or RGB.
The Message Log dialog provides a system level record of configurations and extensions used. You can filter what messages to display by Type and Category, view the records, and display record details.
The Type parameter allows you to select either
All
, Info
,
Warn
, or Fail
message logs. The
Category parameter allows you to select either
Configuration
or Extension
message
summaries. The Configuration
messages indicate when a new
configuration file is loaded. The Extension
messages indicate a
component is registered. For example, you might see a Simulink
message,
which indicates the component is registered and available for configuration.
Port | Supported Data Types |
---|---|
Image |
|
R/G/B | Same as Image port |
From Multimedia File | Computer Vision Toolbox™ software |
To Multimedia File | Computer Vision Toolbox software |
To Video Display | Computer Vision Toolbox software |
Video To Workspace | Computer Vision Toolbox software |
implay | Image Processing Toolbox |