MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Betriebsanweisung Seite 442

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 574
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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;
Seitenansicht 441
1 2 ... 437 438 439 440 441 442 443 444 445 446 447 ... 573 574

Kommentare zu diesen Handbüchern

Keine Kommentare