The region of interest feature allows you to specify which region of the sensor is used for image acquisition. This feature allows a custom width and height for image size and a custom X and Y offset for image position. The width and height must be a multiple of the minimum width and height values allowed by the camera.
The following pseudocode demonstrates configuring the camera to use a region of interest of 200×200 at offset (250,150):
1 2 3 4 5 6 |
// Connect to camera
// Get device node map
OffsetX = 250;
OffsetY = 150;
Width = 200;
Height = 200;
|