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

Corner Detection

IP Command Grooper.IP

Detects corners formed by lines in an image using configurable detection methods.

Remarks

The Corner Detection command identifies corner points in document images, which are useful for page alignment, form registration, and feature extraction. It supports multiple detection methods, including Harris and Square, to accommodate a variety of document layouts and quality conditions.

The command can preprocess images with binarization, then applies the selected corner detection algorithm to locate points where lines or edges meet at significant angles. Detected corners can be used for downstream processing such as skew correction, box detection, or layout analysis.

How Corner Detection Works

  1. The image is optionally binarized using the configured settings.
  2. The selected detection method (Harris or Square) is applied to find corner points.
  3. Parameters such as threshold, filter type, and window size control sensitivity and accuracy.
  4. The maximum number of corners is limited to avoid excessive detections.

Supported Pixel Formats

  • Supports grayscale and color images; color images are converted to grayscale automatically.

Diagnostics

When run in diagnostic mode, Corner Detection generates:

  • Binarized: The preprocessed image after binarization (if enabled).
  • Corners: The original image with detected corners annotated.
  • Harris Response / Directional Kernels: Visualizations of the corner response for tuning.
  • Log Messages: Details about the number and location of detected corners.

Classification Features

  • Detected corners are recorded and can be used for downstream feature extraction, alignment, or validation.

Practical Guidance

  • Choose the detection method based on your document type: use 'Harris' for arbitrary angles, 'Square' for 90° corners.
  • Adjust thresholds and window sizes to balance sensitivity and noise.
  • Use binarization for noisy or low-contrast images.
  • Review diagnostic images to validate detection and tune parameters.

Properties

NameTypeDescription
General
Harris Corner Detection
Square Corner Detection
Command Info

See Also

Used By

Notification