MATLAB IMAGE ACQUISITION TOOLBOX 3 Guía de usuario Pagina 142

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 408
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 141
5 Acqu iring Image Data
Contents of Memor y Buffer Before and After Removing Frames
6 Clean up Always rem ove image acquisition objects from mem ory, and
the variables that re ference them, when you n o longer need them.
delete(vid)
clear vid
Delaying Data Logging A fter a Trigger
In some image acquisition setups, you might not want to lo g the first few
frames returned from your camera or other imaging device. For example,
some cameras require a short warmup time when activated. The quality of
the first few images returned by these cameras might be too dark to be u seful
foryourapplication.
To account for this characteristic of your setup, you can specify that the
toolbox skip a specified number of frames after a trigg er executes. You use
the
TriggerFrameDelay property to specify the number of frames y ou want to
skip before logging begins.
Fo r examp le, t o specify a delay of five f r ames before data logging begins after a
trigger executes, you would set the value of the
TriggerFrameDelay property
to 5. The number of frames captured is d efined by the
FramesPerTrigger
property and is unaffected by the de lay.
set(vid,'TriggerFrameDelay',5);
This figure illustrates this scenario.
5-28
Vista de pagina 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 407 408

Comentarios a estos manuales

Sin comentarios