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

  • 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 523
18 Properties — Alphabetical List
18-34
ReturnedColorSpace
Specify color space used in MATLAB
Description
The ReturnedColorSpace property specifies the color space you want the toolbox to
use when it returns image data to the MATLAB workspace. This is only relevant when
you are accessing acquired image data with the getsnapshot, getdata, and peekdata
functions.
This property can have any of the following values:
Value Description
'grayscale' MATLAB grayscale color space.
'rgb' MATLAB RGB color space.
'YCbCr' MATLAB YCbCr color space.
Note that YCbCr is often imprecisely referred to as YUV. (YUV is
similar, but not identical. They differ by the scaling factor applied to
the result. YUV refers to a particular scaling factor used in composite
NTSC and PAL formats. In most cases, you can specify the YCbCr
color space for devices that support YUV.)
'bayer' Convert grayscale Bayer color patterns to RGB images. The bayer
color space option is only available if your camera's default returned
color space is grayscale.
To use the BayerSensorAlignment property, you must set the
ReturnedColorSpace property to bayer.
Note: For some adaptors, such as GigE and GenTL, if you use a format that starts with
Bayer, e.g. BayerGB8_640x480, we automatically convert the raw Bayer pattern to
color – the ReturnedColorSpace is RGB. If you set the ReturnedColorSpace to
'grayscale', you'll get the raw pattern.
Vue de la page 523
1 2 ... 519 520 521 522 523 524 525 526 527 528 529 ... 573 574

Commentaires sur ces manuels

Pas de commentaire