User`s guide
7 Analysis and Enhancement
Block Library Quantity
Embedded MATLAB
Function
Simulink > User-Defined Functions
1
Draw Shapes Video and Image Processing Blockset
>Text&Graphics
1
Display Simulink > Sin ks
1
Video Viewer Video and Image Pro cessing Blockset
>Sinks
3
2 Positi on the blo cks as shown in the f ollowing figure.
3 UsetheImageFromFileblocktoimportanimageintotheSimulinkmodel.
Set the parameters as follows:
• File name =
gantrycrane.png
• Sample time = 1
4 Use the Color Space Conversion block to convert the RGB image into the
Y’CbCr color space. You perform this conversion to separate the luma
information from the color information. Accept the d efault parameters.
7-18