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

Histogram

IP Command Grooper.IP

Analyzes the distribution of pixel intensities in an image by calculating a histogram.

Remarks

The Histogram command computes a histogram representing the frequency of each pixel intensity value in a grayscale image. A histogram is a fundamental tool for image analysis, providing insight into the brightness and contrast characteristics of an image. It is commonly used to:

  • Assess overall exposure and contrast
  • Identify dominant intensity values or peaks
  • Support other image processing operations, such as thresholding or contrast enhancement

How It Works

  1. The input image is converted to grayscale if necessary.
  2. The command counts the number of pixels at each intensity level (e.g., 0–255 for 8-bit images).
  3. The resulting histogram is used to compute statistics such as dominant value, black/white points, and contrast range.

Supported Pixel Formats

  • Only grayscale images (8-bit or 16-bit) are supported.
  • Images in other formats must be converted to grayscale before analysis.

Diagnostics

When diagnostic mode is enabled, Histogram generates a diagnostic image visualizing the histogram and logs detailed statistics, including contrast, dominant value, black/white points, and standard deviation. This output is useful for tuning image processing workflows.

Usage Guidance

  • This command is primarily used internally by other IP Commands for analysis and decision-making.
  • It is rarely added directly to an IP Profile, as it does not modify the image or produce a visible result.
  • For most users, direct use of this command is not necessary; instead, rely on higher-level commands that leverage histogram analysis automatically.

Properties

NameTypeDescription

Used By

Notification