LUTMode
Top  Previous  Next

Description

Enables/disables the lookup table operation on the video frames. The operation transforms the value of each pixel based on a corresponding factor in the LUT array.

Syntax


[VB]
objActiveUSB.LUTMode [= Value]


[C/C++]
HRESULT get_LUTMode ( bool *pLUT );
HRESULT put_LUTMode( bool LUT );


Data Type
[VB]

Boolean

Parameters
[C/C++]

pLUT [out,retval]  
Pointer to the Boolean that is TRUE if the lookup table operation is enable, or FALSE otherwise  
LUT [in]  
Set to TRUE to enable the lookup table operation, or set to FALSE to disable it.  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  

Example


The following VB example enables the Window/Level operation and sets the minimum and maximum levels for the histogram scaling to 20% and 70% :

ActiveUSB1.LUTMode = True  
ActiveUSB1.SetLevels 20, 70  

Remarks


This property works in combination with the SetLUT, SetLevels or SetGains methods.