5 Geometri c Transformation
You are now ready to set your block parameters by double-clicking the
blocks, modifying the blo ck parameter values, and clicking OK.
5 UsetheImageFromWorkspaceblocktoimporttheRGBimagefromthe
MATLAB workspace. On the Main pan e, set the Value parameter to
I.
6 Use the Video Viewer block to display the original image. Accept the
default parameters.
The Video Viewer block automatically displays the original image in
the Video Viewer window when you run the model. Because the image
is represented by double-precision floating-point values, a value of 0
corresponds to black and a value of 1 corresponds to white.
7 Use the Rotate block to rotate the image. Set the block parameters as
follows:
• Rotation angle source =
Input port
• Sine value computation m ethod = T rigo nometric function
5-8
Comments to this Manuals