User`s guide
17 Functions — Alphabetical List
17-70
The event structure contains the following fields:
Field Description
Data Current image frame specified as an H-by-W-by-B matrix where H
and W are the image height and width, respectively, as specified in
the ROIPosition property, and B is the number of color bands, as
specified in the NumberOfBands property.
Resolution String specifying current image width and height, as defined by the
ROIPosition property.
Status String describing the current acquisition status of the video input
object.
Timestamp String specifying the timestamp associated with the current image
frame.
Examples
Create a customized GUI.
figure('Name', 'My Custom Preview Window');
uicontrol('String', 'Close', 'Callback', 'close(gcf)');
Create an image object for previewing.
vidRes = obj.VideoResolution;
nBands = obj.NumberOfBands;
hImage = image( zeros(vidRes(2), vidRes(1), nBands) );
preview(obj, hImage);
For more information on customized GUIs, see “Previewing Data in Custom GUIs” on
page 2-13.
See Also
ancestor | image | imaqhelp | closepreview | stoppreview