Specify region-of-interest (ROI) window
ROIPosition property specifies the region-of-interest
acquisition window. The ROI window defines the actual size of the
frame logged by the toolbox, measured with respect to the top left
corner of an image frame.
ROIPosition is specified as a 1-by-4 element
[XOffset YOffset Width Height]
Position of the upper left corner of the ROI, measured in pixels.
Position of the upper left corner of the ROI, measured in rows.
Width of the ROI, measured in pixels. The sum of
Height of the ROI, measured in rows. The sum of
In the figure shown above, the width of the captured ROI contains
pixels 51 through 170, including both end points, because the
Read only while running
1-by-4 element vector of doubles