Image processing commands

When you add an available command to the selected commands, you are prompted to configure the command you want to add. This topic lists all available commands and describes how to configure each.

Advanced Border Removal

Automatically removes black/white borders from an image using a sophisticated object detection algorithm.

  • Maximum border thickness: Set in pixels the allowed range of thickness for the border. Any blank space above the maximum is removed.

Binarize

Converts a grayscale or color image to be black and white using the selected Binarize method.

Brightness

Modifies the brightness of a grayscale or color image. Move the slider toward the positive side to yield brighter images.

Border Removal

Removes solid borders from images.

Do not use if using Advanced Border Removal.

  • Edges to remove: Perform border removal on the selected sides of the image.

Color Dropout

Discards specific colors from color images. This function is useful when scanning scantron forms or any other form printed in a color other than black.

  • Dropout colors: Select "Drop Specific Colors" to specify colors. Select "Drop All Colors" to essentially binarize the image.

  • Specific colors: You can select various colors to drop out either through the list containing some common colors or by clicking the ellipsis (...) icon and manually sampling a color from a page. It is also possible to set a custom color at the bottom of the dialog box while looking at pages.

Contrast

Adjust the contrast by:

  • Automatically using the built-in algorithm.

  • Manually using the slide bar provided to adjust the contrast intensity.

    Move the slider toward the positive side to increase the difference between light and dark regions of an image.

Crop

Allows an image to be cropped either manually or automatically.

  • Auto crop: Crops an image by removing solid color borders around the edge of an image.

  • Manual crop: Allows users to set a region on an image to be cropped. Fields X and Y denote the coordinates at the top left corner in pixels. Width and Height denote the size in pixels of the resulting image.

    The X and Y coordinates change depending on the resolution (DPI) of the image being captured. Do not use this option when capturing images with varying resolutions.

    Clicking Select Region opens the Region Selector, where you can set a region with your mouse. Point to the top left of the region desired, click and hold the left mouse button, drag to the opposite corner of the desired region, and then let go of the left mouse button. A red outlined region appears. The location and the size of the zone are indicated at the bottom of the Region Selector.

    Region Selector buttons Description
    Select Template Image

    Loads a sample image.

    This image must have the same resolution as the image captured later in order for the region location and size to be accurate.

    Save Region

    Closes the Region Selector and populates the location and size values in the corresponding fields in the Crop Settings dialog box, based on the created region in the Region Selector.

    Zoom In / Out Zooms in or out.
  • White margin crop: Crops an image by removing solid color borders around the edge of an image.

Deshade

Reduces small black regions within the image.

  • Minimum region size: Set the width and height for the smallest region allowed (in pixels).

  • Processing speed: Select between Normal, Fast, Faster, or Fastest based on your preference between speed and accuracy.

Deskew

Automatically straightens an image or the detected text based on your preferences configured here.

  • Minimum angle to deskew: Set the minimum angle of skew for which automatic skewing then applies.

  • Maximum angle to deskew: Set the maximum angle of skew for which automatic skewing then applies.

  • Background fill color: Fill the background after performing a deskew with this color.

  • Image coverage (%): The percentage of the image to cover with background fill color (if applicable).

  • Detection type: Select Text or Image depending on the document type.

  • Text direction: Select the orientation of the text on the page.

Despeckle

Cleans the image of small spots by using either:

  • Standard (1 x 1 pixel)

  • Aggressive (3 x 3 pixel)

  • Custom Filter: The user can manually adjust the filter size.

Flip

Flips an image either horizontally or vertically.

Hole Punch Removal

This command is used when scanning or importing pages with a black/white background with small white/black circles near the edges. This command fills in those circles with the color of the background.

  • Edges to check: Select which edges to process.

  • Maximum / Minimum hole diameter: Black marks that are larger than the maximum diameter or smaller than the minimum diameter (both measured in pixels) are not affected.

  • Edge search area: Search this percentage of the image height to determine the region where holes may be.

Invert

Converts images with white text and black background to have black text and white background, or vice versa.

You do not get a prompt to configure this command.

Line Removal / Reconstruction

Removes lines from an image and may be especially helpful during zone OCR.

Three modes are available:

  • Remove lines: Remove detected lines with the parameters below.

  • Reconstruct lines: Reconstruct detected lines with the parameters below.

  • Reconstruct forms: Reconstruct the forms of boxes with the parameters below.

Whichever mode you select, remove or reconstruct horizontal and/or vertical lines, and configure the following settings for horizontal and/or vertical lines separately:

  • Minimum line length: Set in pixels, the minimum length of a line for it to be considered for removal. This function prevents characters such as "1" or "/" from being removed unintentionally.

  • Maximum line gap: Set in pixels, the amount of space between lines. Only those lines are removed that appear further apart than this setting.

  • Curvature: Some lines within your document may have curves. Set the maximum degree of the curvature to be detected.

Use optimized straight line algorithm: The straight line algorithm attempts to determine a consistent occurrence of spacing between lines and optimizes the configurations accordingly.

Morphological Filter

Processes captured images with one of the following filters:

  • Dilation: Used to smooth small dark regions tending to enhance black features in the image. (Darken)

  • Erosion: Used to smooth small light regions tending to reduce black features in the image. (Lighten)

  • Open: The dilation of the erosion of the image used to reduce small black regions within the image. (Deshade)

  • Close: The erosion of the dilation of the image used to reduce small white regions within the image. (Light Thicken)

  • Thinning (B/W only): Reduces the geometric size of an image, leaving only a skeletonized frame in its place.

Resize

Resizes an image to a set of user-defined dimensions.

Select a resize mode, then enter new width and height dimensions in pixels.

  • Manual Resize: The width and height you enter define the new size of the image.

  • Maintain Aspect Ratio Using Width: The width of the image becomes the width you enter while also maintaining its aspect ratio.

  • Maintain Aspect Ratio Using Height: The height of the image becomes the height you enter while also maintaining its aspect ratio.

Rotate

Automatically rotates an image clockwise by 90-degree increments or by a number of degrees specified by the user. The front and back (if existing) can be configured independently.

Smoothing

Applies the selected smoothing options to the image.

Auto Orient

Attempts to correctly orient images that are rotated when captured.