MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Uživatelská příručka Strana 456

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 574
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 455
17 Functions — Alphabetical List
17-64
Examples
Create a video input object.
vidobj = videoinput('winvideo', 1, 'RGB24_640x480');
Configure several properties of the video input object.
vidobj.FramesPerTrigger = 100;
vidobj.FrameGrabInterval = 2;
vidobj.Tag = 'CAM1';
Retrieve the selected video source object associated with the video input object.
src = getselectedsource(vidobj);
Configure the properties of the video source object.
src.Contrast = 85;
src.Saturation = 125;
Save the video input object.
obj2mfile(vidobj, 'myvidobj.m', 'set', 'modified');
Delete the object and clear it from the workspace.
delete(vidobj);
clear vidobj;
Execute the M-file to recreate the object. Note that obj2mfile creates and configures
the associated video source object as well.
vidObj = myvidobj;
See Also
getselectedsource | imaqhelp | propinfo | set | videoinput
Zobrazit stránku 455
1 2 ... 451 452 453 454 455 456 457 458 459 460 461 ... 573 574

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

Žádné komentáře