MATLAB VIDEO AND IMAGE PROCESSING BLOCKSET 3 Uživatelská příručka Strana 78

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 252
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 77
3 Working with MPlay
Viewing Videos from the MATLAB Workspace
The MPlay GU I ena bles you to view videos that are repres ented as variables
in the MATLAB workspace, such as video data ex ported to the workspace by
the Video To Workspace block. The following procedure shows you how to use
theMPlayGUItoviewsuchavideo:
1 Define a variable that represents a video sequence in the MATLAB
workspace. For example, to read an entire video into memory, type
d = aviread('vipmen.avi');
at the MATLAB command prompt.
2 Open an MPlay GUI by typing
mplay
at the MATLAB command prompt.
3 ConnecttheMPlayGUItothevariableintheMATLABworkspaceby
clicking
on the MPlay GUI. In the Import from Workspace dialog box,
select
d from the list of workspace variab les. T hen click Im port.
ThefirstframeofthevideoappearsintheMPlaywindow.
3-2
Zobrazit stránku 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 251 252

Komentáře k této Příručce

Žádné komentáře