MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Guide de l'utilisateur Page 341

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 574
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 340
1 2 ... 336 337 338 339 340 341 342 343 344 345 346 ... 573 574

Commentaires sur ces manuels

Pas de commentaire