Accusoft.ImagXpressSdk Namespace > Processor Class : DocumentBlobRemoval Method |
'Declaration Public Sub DocumentBlobRemoval( _ ByVal Area As Rectangle, _ Optional ByVal MinPixelCount As Integer, _ Optional ByVal MaxPixelCount As Integer, _ Optional ByVal MinDensity As Short _ )
'Usage Dim instance As Processor Dim Area As Rectangle Dim MinPixelCount As Integer Dim MaxPixelCount As Integer Dim MinDensity As Short instance.DocumentBlobRemoval(Area, MinPixelCount, MaxPixelCount, MinDensity)
public void DocumentBlobRemoval( Rectangle Area, int MinPixelCount, int MaxPixelCount, short MinDensity )
public: void DocumentBlobRemoval( Rectangle Area, int MinPixelCount, int MaxPixelCount, short MinDensity )
public: void DocumentBlobRemoval( Rectangle Area, int MinPixelCount, int MaxPixelCount, short MinDensity )
ImagXpress removes only black images on a white image. To remove white pixels on a black image requires prior processing, to negate the bitonal image. You can specify a subset of the image to speed processing time and limit unwanted blob removal.
The image is examined for the blobs, such as the black holes left on copies by binder hole punches in the original image. Blobs within the specified region are removed from the current image.
ImagXpress finds black blobs meeting the specified minimum pixel count and yet not exceeding the specified maximum pixel count. The removed blobs are replaced with white pixels. Without a set detection area, the entire image is examined and updated if it meets the criteria. If a blob is detected on the boundaries of a sub-image, only the portion of the blob within the boundaries is removed.
Note: Available in Professional edition.