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

  • 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 340
Using Properties on a VideoDevice System Object
14-13
Note: This ROI value is 1-based. This differs from the videoinput object, the Image
Acquisition Tool, and the From Video Device block, all of which are 0-based.
To set a device-specific property, use this syntax:
vidobj.DeviceProperties.Brightness = 150;
You can see that the syntax for setting a device-specific property is to use dot notation
with the object name, the DeviceProperties object, and the property name and then
make it equal to the property value.
Another example of a device-specific property is setting the frame rate for a device that
supports it.
vidobj.DeviceProperties.FrameRate = '30';
Note: Once you have done a step, in order to change a property or set a new one, you
need to release the object using the release function, before setting the new property.
Vista de pagina 340
1 2 ... 336 337 338 339 340 341 342 343 344 345 346 ... 573 574

Comentarios a estos manuales

Sin comentarios