© 2013 Thorlabs GmbH
4 Programming (SDK)
417
4.5.28 is_SetBadPixelCorrection
Syntax
INT is_SetBadPixelCorrection (HIDS hCam, INT nEnable, INT threshold)
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_SetBadPixelCorrection() enables/disables the software correction of sensor hot pixels.
Attention
This correction will not work while sub-sampling or binning are enabled or raw Bayer mode is used.
Input parameters
Disables the correction function.
Enables software correction based on the hot pixel list
stored in the EEPROM.
Enables software correction based on user-defined
values. First, the is_SetBadPixelCorrectionTable
() function must be called.
Returns the current mode.
Returns the current threshold value.
Return values
Function executed successfully
When used with
IS_GET_BPC_MODE
When used with
IS_GET_BPC_THRESHOLD
Related functions
is_LoadBadPixelCorrectionTable()
is_SaveBadPixelCorrectionTable()
is_SetBadPixelCorrectionTable()
260
379
418
394
405
418