ClearImageNet Send comments on this topic.
ClearBackground Method
See Also 
Inlite.ClearImageNet Namespace > ImageEditor Class : ClearBackground Method




threshold
Background threshold level (range 0-100)
Sets background of color or grayscale image to white

Syntax

Visual Basic (Declaration) 
Public Sub ClearBackground( _
   ByVal threshold As Double _
) 
Visual Basic (Usage)Copy Code
Dim instance As ImageEditor
Dim threshold As Double
 
instance.ClearBackground(threshold)
C# 
public void ClearBackground( 
   double threshold
)
Managed Extensions for C++ 
public: void ClearBackground( 
   double threshold
) 
C++/CLI 
public:
void ClearBackground( 
   double threshold
) 

Parameters

threshold
Background threshold level (range 0-100)

Remarks

Background of scanned pages is typically off-white.
This method sets all pixels brighter than the specified threshold to pure white.
threshold = 0 threshold does not modify the image
threshold = 100 sets all image pixels to white
threshold = 30% is recommended

Licensing: Requires ClearImage Repair license

See Also

Generated from assembly ClearImageNet [5.7.1.0]