|
SetROI
|
|
| X1 [in], Y1 [in]
|
| Pixel coordinates of the top left corner of the ROI, relative to the image origin.
|
| X2 [in], Y2 [in]
|
| Pixel coordinates of the bottom right corner of the ROI, relative to the image origin.
|
| L1 [in], L2 [in]
|
| Optional threshold values specifying the luminance range for image statistics calculations. The luminance range of interest is defined as follows:
|
| L1<L2 Only those pixel values greater or equal to L1 and less or equal to L2 are included into the calculations
|
| L2<L1 Only those pixel values less than L2 or greater than L1 are included into the calculations
|
| L1=L2 Only those pixel values equal to L1 are included into the calculations
|
| S_OK
|
| Success
|
| E_FAIL
|
| Failure.
|