MATLAB VIDEO AND IMAGE PROCESSING BLOCKSET 3 User's Guide Page 78

  • Download
  • Add to my manuals
  • Print
  • Page
    / 252
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 251 252

Comments to this Manuals

No comments