HotPixelLevel
Top  Previous  Next

Description

Returns or sets the threshold level to be used in the hot pixel correction mode, in percents.


Syntax


[VB]
objActiveGige.HotPixelLevel [= Value]


[C/C++]
HRESULT get_HotPixelLevel( long *pValue );
HRESULT put_HotPixelLevel( long Value );



Data Type
[VB]

Long


Parameters
[C/C++]

pValue [out,retval]  
Pointer to the currently selected threshold level for the hot pixel correction mode.  
Value [in]  
The threshold level to be set.  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  
E_INVALIDARG  
Invalid property value.  
 

Example


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

ActiveGige1.HotPixelLevel = 15
ActiveGige1.HotPixelCorrect = True
 

Remarks

The hot pixel level indicates the minimum difference in the intensity between a pixel and its neighborhood in order for the pixel to be considered hot. The value of the hot pixel level is given in percents of the maximum intensity for the given type of image. If the pixel falls into a hot-pixel category, its value will be replaced by the average intensity of the adjacent pixels.