HotPixelCorrect
Top  Previous  Next

Description

Enables/disables the hot pixel correction mode. Used in combination with HotPixelLevel.


Syntax


[VB]
objActiveGige.Integrate [= Value]


[C/C++]
HRESULT get_HotPixelCorrect ( bool *pCorrect);
HRESULT put_HotPixelCorrect( bool Correct );


Data Type
[VB]

Boolean


Parameters
[C/C++]

pCorrect [out,retval]  
Pointer to the Boolean that is TRUE if the hot pixel correction is enabled, or FALSE otherwise  
Correct [in]  
Set to TRUE to enable the hot pixel correction, or set to FALSE to disable it  
 

Return Values


S_OK  
Success  
E_FAIL  
Failure.  

Example


This VB example activates the hot pixel correction mode with a 15% threshold:

ActiveGige1.HotPixelLevel = 15
ActiveGige1.HotPixelCorrect = True
 

Remarks

Hot pixels are individual pixels that appear much brighter than the rest of an image. They are assosiated with elements on a camera sensor that have higher than normal rates of charge leakage. Hot pixels are especially noticable in a low-light situation when the shutter and/or gain are set to high values.

The hot pixel correction algorithm is based on the "top hat" technique that treats a pixel intensity as an elevation of a surface. Any pixel that protrudes through the "crown of the hat" which height is defined by a value of HotPixelLevel is considered to be noise and replaced by the mean value under the "brim of the hat". This effectively removes hot pixels from the image.