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

  • 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 441
17 Functions — Alphabetical List
17-50
Function Purpose
imaqhwinfo Returns information about the object.
imaqhwinfo(obj)
displays information about the VideoDevice System object, obj.
Examples
Construct a VideoDevice System object associated with the Winvideo adaptor with device
ID of 1.
vidobj = imaq.VideoDevice('winvideo', 1);
Set an object-level property, such as ReturnedColorSpace. The syntax for an object-
level property uses the object name, property name, and property value.
vidobj.ReturnedColorSpace = 'grayscale';
Set a device-specific property, such as Brightness. The syntax for a device-specific
property uses the DeviceProperties object, the property name, and property value.
vidobj.DeviceProperties.Brightness = 150;
Preview the image.
preview(vidobj)
Acquire a single frame.
frame = step(vidobj);
Display the acquired frame.
imshow(frame)
Release the hardware resource.
release(vidobj);
Clear the VideoDevice System object.
clear vidobj;
Zobrazit stránku 441
1 2 ... 437 438 439 440 441 442 443 444 445 446 447 ... 573 574

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

Žádné komentáře