Measure

NI Vision Assistant

Measure

Calculates measurement statistics associated with the region of interest (ROI).

Note  The Measure 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.

Measure Tab

The following controls are available on the Measure tab. You can calculate position, length, angle, and area.

  • Position Results—Position of the point that you selected on the image using an ROI tool from the toolbar.
    • X Pos.—X-coordinate
    • Y Pos.—Y-coordinate
    • Lev.—Grayscale value of the pixel
  • Length Results—Length measurements associated with the ROI.
    • Length—Length of the ROI in user-calibrated units.
    • Start X—X-coordinate of the starting point of the ROI.
    • Start Y—Y-coordinate of the starting point of the ROI.
    • End X—X-coordinate of the ending point of the ROI.
    • End Y—Y-coordinate of the ending point of the ROI.
    • Mean—Mean of the grayscale values found in the ROI.
    • StdDev—Standard deviation in the ROI.
    • Min—Smallest grayscale value found in the ROI.
    • Max—Largest grayscale value found in the ROI.
  • Angle Results—Angle results associated with line segments drawn on the image.
    • Angle—Angle between any two line segments on the image, measured in degrees, counterclockwise.
  • Area Results—Area measurements associated with the ROI.
    • Area—Area of the ROI.
    • Ratio—Ratio of the ROI area to the entire image area.
    • X1—Top, left x-coordinate of the ROI bounding rectangle.
    • Y1—Top, left y-coordinate of the ROI bounding rectangle.
    • X2—Bottom, right x-coordinate of the ROI bounding rectangle.
    • Y2—Bottom, right y-coordinate of the ROI bounding rectangle.
    • Mean—Mean of all grayscale values found in the ROI.
    • StdDev—Standard deviation of all grayscale values found in the ROI.
    • Min—Smallest grayscale value found in the ROI.
    • Max—Largest grayscale value found in the ROI.