MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Guía de usuario Pagina 442

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 574
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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;
Vista de pagina 441
1 2 ... 437 438 439 440 441 442 443 444 445 446 447 ... 573 574

Comentarios a estos manuales

Sin comentarios