AO SERIES | INSTRUCTIONS MANUAL
29
DLL_EXTERN_C DLL_API
int
calculateBestFocusFull(
oeImage
inputImages[],
unsigned int
size,
int
&index,
float
&value);
Parameters:
• inputImages – input parameter, array of oeRoi structures
• size – input value, size of inputImages array
• index – output value, index of best focused image
• value – output value, merit function output
Error list:
Error Code
Description
Cause
0
OK
0
OK
0
100
Image Size Error
• Image size is not initialized (w and/or h <0)
• w and/ or h > 65535
200
Image channel Error
Channel value =! 1 and =!3
300
Roi Error
Errors in Roi Paramaters
• x<0 not initialized
• y<0 not initialized
• w<0 not initialized
• h<0 not initialized
• x+w> Image width
• y+h> Image height