229SDK (Software development Kit)
© 2010 Thorlabs
7.3.72
is_SetBadPixelCorrectionTable
Syntax
INT is_SetBadPixelCorrectionTable (HIDS hCam, INT nMode, WORD* pList)
Description
is_SetBadPixelCorrectionTable() can be used to set the table containing the hot pixel positions
which will be used by the user-defined hot pixel correction function. You can enable hot pixel
correction by calling is_SetBadPixelCorrection() . Each value in the table consists of a 2-
byte WORD data type. The first value indicates the number of pixel coordinates in the table, the
coordinates are listed subsequently (first X, then Y).
A table with 3 hot pixels must be structured as follows:
Input Parameters
Sets a new user-defined list.
The pList parameter points to a list which has the format
described above.
Returns the number of pixel coordinates included in the
user-defined list.
Copies the user-defined list to the pList parameter. Make
sure to allocate the memory accordingly.
Pointer to the starting address of the hot pixel table
Return Values
Function executed successfully
Number of coordinates in the list
when used together with
IS_GET_LIST_SIZE
Related Functions
is_LoadBadPixelCorrectionTable()
is_SaveBadPixelCorrectionTable()
is_SetBadPixelCorrection()
228
199
209
228