Specify color space used in MATLAB
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
This property can have any of the following values:
MATLAB grayscale color space.
MATLAB RGB color space.
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.)
Convert grayscale Bayer color patterns to RGB images.
For some adaptors, such as GigE and GenTL, if you use a format
that starts with Bayer, e.g.
we automatically convert the raw Bayer pattern to color – the
RGB. If you set the
you'll get the raw pattern.
For an example showing how to determine the default color space and change the color space setting, see Specifying the Color Space.
Defined at object creation time and depends on the video format selected