© 2013 Thorlabs GmbH
4 Programming (SDK)
419
Example
WORD *pList = NULL;
// Number of coordinates in the list
INT nCount = is_SetBadPixelCorrectionTable (hCam, IS_GET_LIST_SIZE, NULL);
if (nCount > 0)
{
// Allocate memory for the entire list
pList = new WORD[1 + 2 * nCount];
// Read out list
is_SetBadPixelCorrectionTable (hCam, IS_GET_BADPIXEL_LIST, pList);
// Release the list again
delete [] pList;
}
else
{
// No hot pixel list programmed
}