Home > C: Programming > Function Descriptions > | History back Previous chapter Next chapter Print |
is_Sharpness |
uEye Camera Manual Version 3.80
is_Sharpness
USB uEye XS |
USB uEye XS |
Syntax
INT is_Sharpness (HIDS hCam, UINT nCommand,
void *pParam,
UINT nSizeOfParam)
Description
Using is_Sharpness(), you can enhance or reduce the image sharpness if supported by your uEye model.
The nCommand input parameter is used to select the function mode. The pParam input parameter depends on the selected function mode. If you select functions for setting or returning a value, pParam receives a pointer to a variable of the UINT type. The size of the memory area to which pParam refers is specified in the nSizeOfParam input parameter.
|
Input Parameters
hCam |
Camera handle |
|
nCommand |
|
|
SHARPNESS_CMD_GET_CAPABILITIES |
Returns the function modes supported by the camera.
|
|
SHARPNESS_CMD_GET_VALUE |
Returns the current image sharpness setting.
|
|
SHARPNESS_CMD_GET_MIN_VALUE |
Returns the minimum image sharpness value.
|
|
SHARPNESS_CMD_GET_MAX_VALUE |
Returns the maximum image sharpness value.
|
|
SHARPNESS_CMD_GET_INCREMENT |
Returns the increment for setting the image sharpness.
|
|
SHARPNESS_CMD_GET_DEFAULT_VALUE |
Returns the default value for image sharpness.
|
|
SHARPNESS_CMD_SET_VALUE |
Sets a value for image sharpness.
|
|
pParam |
Pointer to a function parameter; which function parameter is referred to here depends on nCommand. |
|
nSizeOfParam |
Size (in bytes) of the memory area to which pParam refers. |
Status flags from SHARPNESS_CAPABILITY_FLAGS
SHARPNESS_CAP_INVALID |
The camera does not support setting the image sharpness |
SHARPNESS_CAP_SHARPNESS_SUPPORTED |
The camera supports setting the image sharpness |
Return Values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
Related Functions