User`s guide
2 Importing and Exporting Video
1 If the model you created in “Importing and Viewing Multimedia Files” on
page 2-25 is not open on your desktop, you can open an equivalent model
by typing
doc_export2
at the MATLAB command prompt.
2 Click-and-drag the following blocks into your model.
Block Library Quantity
To Multim
edia File
Video and
Image
Processi
ng Blockset >
Sinks
1
Gain Simulin
k>Math
Operati
ons
3
3 Use the
Gain blocks to increase the red, green, and blue values of the video
stream
. This increases the contrast of the v ideo. Set the block parameters
as foll
ows:
• Main pa
ne, Gain =
1.2
• Signal
data types pane, Output data type m od e =
Same as input
2-28