Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Blob Removal

Binary Dropout Grooper.IP

Removes blobs from the image that meet specific size, shape, or fill requirements.

Remarks

The Blob Removal command detects and removes connected regions ("blobs") from a binarized image based on user-configurable criteria such as size, area, fill percentage, and more. This command is essential for cleaning up scanned documents by eliminating unwanted features like specks, logos, lines, or other artifacts that may interfere with downstream processing.

How Blob Removal Works

  1. The input image is binarized using the settings defined in the 'Binarization Settings' property.
  2. Connected regions (blobs) are identified using the selected pixel connectivity.
  3. Each blob is evaluated against the configured filtering criteria (width, height, area, weight, fill, etc.).
  4. Blobs that match the criteria are masked and removed from the image. Optionally, blobs detected as text segments can be preserved.
  5. The mask is applied to the original image using the selected dropout method, resulting in a cleaned image.

Configuration and Usage

  • Use filtering properties to target blobs by size, area, or fill percentage.
  • Restrict removal to a specific region using the 'Region Of Interest' property.
  • Enable 'Exclude Text Segments' to avoid removing blobs that are likely to be text or punctuation.
  • Use 'Include Contents' to remove smaller blobs contained within a qualifying parent blob.
  • Always review the "Binarized" diagnostic image to ensure that the correct blobs are being targeted.

Supported Pixel Formats

All common pixel formats are supported, including Pixel8bppGrayscale, Pixel24bppBgr, and Pixel1bppIndexed. Images are automatically converted as needed for blob detection and removal.

Diagnostics

When run in diagnostic mode, Blob Removal generates diagnostic images such as Binarized and Text Segments to help you verify that the correct blobs are being detected and removed. Log messages indicate the number of blobs removed and the effect of each filtering criterion.

Notes

  • Overly broad criteria may remove important content, such as punctuation or small text. Always validate results visually.
  • Binarization settings only affect non-binary input images.
  • Blob Removal does not generate classification features directly, but the results can impact downstream extraction and analysis.

Properties

NameTypeDescription
General
Filtering
Image Preprocessing
Command Info

See Also

Used By

Notification