Histogram

NI Vision Assistant

Histogram

Counts the total number of pixels in each grayscale value and graphs it. You can perform a histogram on an entire image or selected regions of the image. Use the ROI tools from the toolbar to select regions in an image.

Note  The Histogram function analyzes the image and displays information for you to review. This function does not modify the image.

Main Tab

The following controls are available on the Main tab.

  • Step Name—Name to give the step.
  • Reposition Region of Interest—When enabled, the step dynamically repositions the region of interest based on a coordinate system you built in a previous step.
  • Reference Coordinate System—Coordinate system to which you want to link the region of interest.

Histogram Tab

The following controls are available on the Histogram tab.

  • Histogram—Graphical representation of the quantitative distribution of pixels per grayscale value.
  • Minimum Value—Smallest pixel intensity found in the image or selected regions in the image.
  • Maximum Value—Largest pixel intensity found in the image or selected regions in the image.
  • Mean Value—Mean value of intensities found in the image or selected regions in the image.
  • Std Deviation—Standard deviation of the pixel intensities.
  • Number of Pixels—Number of pixels used to calculate the histogram.
  • Mapping mode—Specifies if the vertical scale (y-axis) of the histogram is linear or logarithmic.
    • Linear—Displays the histogram in a linear scale.
    • Logarithmic—Displays the histogram in a logarithmic scale. Use the logarithmic scale if the linear values are too small to view.