© 2016 Thorlabs Scientific Imaging262
DCx Camera Functional Description and SDK Manual
IS_HOTPIXEL_GET_MERGED_CAMERA_LIST_NUMB
ER
Returns the number of hot pixels in a merged list
that combines the entries from the factory-set hot
pixel list with those of the user-defined hot pixels
list stored in the camera EEPROM.
IS_HOTPIXEL_GET_MERGED_CAMERA_LIST
Returns the merged list (Example 6)
Pointer to a function parameter, whose function
depends on nCommand.
Size (in bytes) of the memory area to which
pParam refers.
Return values
IS_CANT_COMMUNICATE_WITH_DRIVER
Communication with the driver failed because
no driver has been loaded.
An attempt to initialize or select the camera
failed (no camera connected or initialization
error).
The camera type defined in the .ini file does not
match the current camera model.
One of the submitted parameters is outside the
valid range or is not supported for this sensor or
is not available in this mode.
An IO request from the uc480 driver failed.
Possibly the versions of the uc480.dll (API) and
the driver file (uc480_usb.sys) do not match.
The camera does not contain any calibration
data.
The camera model used here does not support
this function or setting.
No memory could be allocated.
Function executed successfully
A timeout occurred. An image capturing process
could not be terminated within the allowable
period.
Example 1
// Enable/disable correction
INT nRet = is_HotPixel(hCam, IS_HOTPIXEL_DISABLE_CORRECTION, NULL, NULL);
nRet = is_HotPixel(hCam, IS_HOTPIXEL_ENABLE_CAMERA_CORRECTION, NULL, NULL);
nRet = is_HotPixel(hCam, IS_HOTPIXEL_ENABLE_SOFTWARE_USER_CORRECTION, NULL, NULL);
nRet = is_HotPixel(hCam, IS_HOTPIXEL_ENABLE_SENSOR_CORRECTION, NULL, NULL);
nRet = is_HotPixel(hCam, IS_HOTPIXEL_DISABLE_SENSOR_CORRECTION, NULL, NULL);
Example 2
// Read out current mode
INT nMode = 0;