MATLAB VIDEO AND IMAGE PROCESSING BLOCKSET 3 Podręcznik Użytkownika Strona 48

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 252
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 47
2 Importing and Exporting Video
5 UsetheGain1blocktochangethebluevaluesofthevideostream.Setthe
block parameters as follows:
Main pane, Gain =
1.5
Signal Data Types pane, Output d ata type mode = Same as input
6 UsetheWriteAVIFileblocktoexportthevideotoanAVIfile.SettheFile
name para m eter to
my_test_file.avi.
7 If you have not already done so, set the config uration parameters. Open
the Configuration dialog box by selecting Simulation > Configuration
Parameters. Set the parameters as follows:
Solver pane, Stop time =
20
Solver pane, Type = Fixe d-st ep
Solver pane, Solver = discr ete (no continuous states)
8 Run your model.
You ca n view your v ideo in the Video Viewer window. The Write AVI File
block exports the v ideo data from the Simulink model to an AVI file that it
creates in your current directory.
2-8
Przeglądanie stron 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 251 252

Komentarze do niniejszej Instrukcji

Brak uwag