36 / 58
36
int
iCube
SDK_
GetResolutionRange(int nCamIndex,ROI_RANGE_PROPERTY *property)
Purpose: get the min/max resolution of the Region of Interest (ROI).
Description
Parameters
int
CamIndex,
ROI_PROPERTY *
property
Return value
int
stat
Return value:
int
stat
:
IC_SUCCESS: success
else: error
Parameters:
int
nCamIndex: index of camera.
ROI_RANGE_PROPERTY *
property: pointer to the ROI_RANGE_PROPERTY structure.
int
iCube
SDK_
SetResolutionParam(int nCamIndex,
HWND ImgHandle,IN BOOL Preview,IN
BOOL Callback)
Purpose: starts the image stream of roi 2-4 in multi roi applications.
Available only for 4133 and 4203 cameras.
The correct roi ID (2-4) has to set before this function with
ICubeSDK_SetCamParameter(nCamIndex,REG_ROI_ID, roi ID)
It is not allowed to leave a gap in the roi settings (you can not set roi 2
without setting roi 1).
See 4133_MultiROI SDK Example.
Linux: this function is not available with the linux api (see MultiROITest
example).
Description
Parameters
int
CamIndex,
ROI_PROPERTY *
property
Return value
int
stat
Return value:
int
stat:
IC_SUCCESS: success
else: error
Parameters:
int
nCamIndex: index of camera.
HWND
ImgHandle: handle to preview window.
bool
Preview: set/unset the use of a preview window. If preview mode is set and
ImgHandle is NULL, a default preview window will be used.
bool
Callback: set/unset the use of the callback function.