RemoveIsolatedPixels removes all groups of PixelCount isolated pixels.

The RemoveIsolatedPixels method works only with black/white images (1bit).

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public void RemoveIsolatedPixels(
	int noiseColor,
	int pixelsCount
)
Public Sub RemoveIsolatedPixels ( _
	noiseColor As Integer, _
	pixelsCount As Integer _
)
public:
void RemoveIsolatedPixels(
	int noiseColor, 
	int pixelsCount
)

Parameters

noiseColor
Int32
NoiseColor specifies the "text" color, 0 is black and 1 is white (for example if you have a document where the text is black NoiseColor must be 0, otherwise it must be 1).
pixelsCount
Int32
Minimum number of pixels to form a group

See Also