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

  • 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 174
Working with Image Data in the MATLAB Workspace
3 View the video format and video resolution properties The toolbox
creates the object with t h e default video format. This format defines the
video resolution.
get(vid,'VideoFormat')
ans =
M_RS170
get(vid,'VideoResolution')
ans =
[640 480]
4 Bring a single frame into the work space —Callthegetsna psho t
function to bring a frame into the workspace.
frame = getsnapshot(v id);
The dimensions of the returned data reflect the image resolution and the
value of the
NumberOfBands property.
vid.NumberOfBands
ans =
1
size(frame)
ans =
480 640
5 Start the image acquisition o bject —Callthestart function to start
the image acquisition object.
start(vid)
The object executes an immediate trigger and begins acquiring frames
of data.
6-15
Vista de pagina 174
1 2 ... 170 171 172 173 174 175 176 177 178 179 180 ... 407 408

Comentarios a estos manuales

Sin comentarios