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

  • Download
  • Add to my manuals
  • Print
  • Page
    / 252
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 42
Working with AVI Files
2 Locate an AVI file that you want to import into Simulink. If you do not
have access to an AVI file, Video and Im age Processing B lockset has sample
AVI files you can use to complete this procedure.
3 Use the From Multimedia File block to import t he AVI file into the model.
Double-click the From Multimedia File block.
If you do not have your own AVI file, ente r
barcodes.avi for the File
name parameter.
If the AVI file is on your MATLAB path, enter the AVI filename for the
File name parameter.
IfthefileisnotonyourMATLABpath,usetheBrowse button to locate
the AVI filename.
Image signal =
Separate color signals
By default, the Numberoftimestoplayfileparameter is set to inf.The
model continues to play the file until the simulation stops.
4 Use the Video Viewer block to view the AV I file. Set the Image signal
parameter to
Separate color signals
5 Connect the b lo cks so y our model looks similar to the following figure.
2-3
Page view 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 251 252

Comments to this Manuals

No comments