© 2013 Thorlabs GmbH418
DCx Cameras
4.5.29 is_SetBadPixelCorrectionTable
Syntax
INT is_SetBadPixelCorrectionTable (HIDS hCam, INT nMode, WORD* pList)
Description
Attention
This function is obsolete and should not be used anymore. We recommend to use the is_HotPixel()
function instead (see also Obsolete functions ).
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.
If the list contains no coordinates, the return value is -1.
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
When used with
IS_GET_LIST_SIZE
Number of coordinates in the list
If the list contains no coordinates, the return value is -1.
Related functions
is_LoadBadPixelCorrectionTable()
is_SaveBadPixelCorrectionTable()
is_SetBadPixelCorrection()
260
379
417
394
405
417