MATLAB VIDEO AND IMAGE PROCESSING BLOCKSET 3 Guida Utente Pagina 118

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 252
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 117
5 Geometri c Transformation
Rotating an Image
YoucanusetheRotateblocktorotateyourimageorvideostreambya
specified angle. In this exampl e, you le arn how to use the R otate block to
continuously rotate an image:
1 Define an R GB image in the MATLAB workspace. At the MATLAB
command prompt, type
I = checker_board;
I
is a 100-by-100-by-3 array of double-precision values. Each plane of the
array represents the reg, green, or blue color values of the image.
2 To view the image this matrix represents, at the MATLAB command
prompt, type
imshow(I)
3 Create a new Simulink model, and add to it the blocks shown in the
following table.
Block Librar y Quantity
Image From
Workspace
Video and Image Processing
Blockset > Source s
1
5-6
Vedere la pagina 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 251 252

Commenti su questo manuale

Nessun commento