User`s guide

Key Blockset Con cepts
Key Blockset Concepts
In this section, you learn how the VideoandImageProcessing Blockset blocks
interpret input matrices and arrays. Images are real-valued o rdered sets of
color or intensity data. The blocks interpret input matrices as images, where
each element of the matrix corresponds to a single pixel in the d isplayed
image. Video data is a series o f images over time. All blocks in Video a nd
Image Proces s in g Blockset can pr ocess images or vid eo data.
This section includes the following topics:
“Image Types” on page 1-12 Learn how to represent binary, intensity,
and RGB images
“Video in Video and Image Processing Blockset” on page 1-12 Understand
the representation of video
“Defining Intensity and Color” on page 1-13— Learn how data type
determines w hich values correspondtoblackandwhiteaswellasthe
absence or saturation of color
“Color Image Processing” on page 1-14 Work with color images and video
signalsas3-Darrays
“Coordinate Systems” on page 1-19— Learn how pixel and spatial
coordinate systems are defined in Video and Image Processing Blockset
“Image Data Stored in Column-Major Format” on page 1 -21 Learn how
the blockset stores image data
“Sample Time” on page 1-21 Learn how a block’s sample time determ ines
when the code b ehind each block is executed
“Video Duration and Simulation Time” on page 1-22 Learn how to
control the duration of the simulation
“Normal and Accelerator Mode” on page 1-23 Learn h ow to improv e the
performan c e of larger Simulink models
“Strategies for R eal-Time Video Processing” on page 1-24 Optimize your
modeltoachievereal-timevideoprocessing
“Code G eneration” on page 1-26 Unders tand when
vip_rt.dll is needed
to run executables generated for certain targets
1-11