Pixelink USB3 and PL-X cameras with the latest firmware. Check for support using PxLGetCameraFeatures
On some cameras models, the auto operations (FEATURE_FLAG_AUTO and FEATURE_FLAG_ONEPUSH) for exposure, white balance and gain will all use the AutoRoi when FEATURE_AUTO_ROI is enabled (this feature is disabled by default). When this feature is enabled and set, the auto operation (for example, Auto Exposure) will be performed over the specified AutoROI, instead of the full ROI.
The fLeft and fTop parameters are relative to the origin of the ROI, not the sensor itself. This ensures that the pixels represented in the AutoRoi will 'move' along with movements to the ROI (IE changes to ROI.fLeft and ROI.fTop).
The pixel units are pre-pixelAddressed pixels, so an AutoRoi of fLeft=100, fRight=200, fWidth=640, fHeight=480 would represent 307,200 pixels, so long as there is no pixel addressing applied. However, if a 2x2 pixel addressing (like decimation) were to then be applied, the AutoRoi parameters would remain the same, but it would now represent just 76,800 pixels.
Similar to FEATURE_ROI, FEATURE_AUTO_ROI is not be affected by the transformation features (FEATURE_FLIP and FEATURE_ROTATE).
|Feature||Number of Params||Parameters||Units||Restrictions|
Region of Interest of the image array
Please note: If fWidth or fHeight is larger than the ROI's values, those pixels that fall outside of the ROI will not be used for the auto calculation.
Settable While Streaming
USB3 and PL-X Cameras