User`s guide
17 Functions — Alphabetical List
17-48
Property Description
BayerSensorAlignment String indicating the 2x2 sensor alignment. Specifies
Bayer patterns returned by hardware. Specify
the sensor alignment for Bayer demosaicing. The
default value of this property is 'grbg'. Possible
values are {grbg|gbrg|rggb|bggr}. Visible only if
ReturnedColorSpace is set to 'bayer'.
ReturnedDataType The returned data type of the acquired frame. The
default ReturnedDataType is single.
The setting of properties for the System object supports tab completion for enumerated
properties while coding in MATLAB. Using the tab completion is an easy way to see
available property values. After you type the property name, type a comma, then a space,
then the first quote mark for the value, then hit tab to see the possible values.
You can also use the set function with the object name and property name to get a list of
available values for that property. For example:
set(obj, 'ReturnedColorSpace')
gets the list of available color space settings for the VideoDevice System object, obj.
Note that 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.
Functions
You can use these functions with the VideoDevice System object.
Function Purpose
step Acquire a single frame from the image acquisition device.
frame = step(obj);
acquires a single frame from the VideoDevice System object, obj.
Note that the first time you call step, it acquires exclusive use of
the hardware and will start streaming data.