Converts a true color image (24 bit) to black/white (1 bit) using local threshold algorithms (mean, median, min/max mean).

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public void ConvertToBlackWhite_localThreshold(
	int winSize,
	IEThreshMode mode,
	int offset
)
Public Sub ConvertToBlackWhite_localThreshold ( _
	winSize As Integer, _
	mode As IEThreshMode, _
	offset As Integer _
)
public:
void ConvertToBlackWhite_localThreshold(
	int winSize, 
	IEThreshMode mode, 
	int offset
)

Parameters

winSize
Int32
specifies the window size, minimum value is 2
mode
IEThreshMode
specifies the algorithm to use
offset
Int32
substracts specified offset to the calculated local threshold

See Also