Measure Features

NI Vision Builder

Measure Features Tab

Measure Features

This palette groups several steps whose purpose is extracting dimensional measurements from an image of the part under inspection. You can use the Caliper step to measure external or internal dimensions of an object. You can use the Geometry step to compute geometrical features and physical dimensions based on the location of part features that were computed during previous steps. You can express all the measurements in real-world units—such as inches and meters—if you calibrate the image using the Calibrate Image step.

Step Name Description
Measure Intensity Returns the average intensity value of pixels inside a region of interest. Use this step to detect the presence of a part with unique, uniform pixel intensities.

Another use of the Measure Intensity step is to detect objects or assemblies characterized by intensity levels that vary greatly from surrounding pixels. In such cases, the minimum and maximum intensity values and the standard deviation values can describe the contents of a region of interest. You can use these values to detect the presence or absence of a part without specifying the shape or pattern of the part. Refer to Measure Intensity Concepts for related information.

Note  This step cannot identify between two objects with similarly intense pixel values. Use this step if the lighting conditions of your imaging environment do not vary considerably with the time of day and surrounding lighting conditions.
Measure Colors Returns the average value of color intensities inside a region of interest. Use this step to detect the presence of a part with unique, uniform color intensities.

Another use of the Measure Colors step is to detect objects or assemblies characterized by colors that vary significantly from surrounding pixels. In such cases, the minimum and maximum color values and the standard deviation values can describe the contents of a region of interest. You can use these values to detect the presence or absence of a part without specifying the shape or pattern of the part. Refer to Measure Colors Concepts for related information.

Note  This step cannot identify between two objects with similarly intense color values. Use this step if the lighting conditions of your imaging environment do not vary considerably with the time of day and surrounding lighting conditions.
Count Pixels Calculates the percentage of pixels in a region whose pixel intensities fall within a specified intensity range. You also can use this step to check for the presence of a part with known pixel values.
Caliper Finds two object edges and measure the distance between them. Refer to Caliper Concepts for related information.
Note  The Caliper step finds edges automatically. You do not need to insert a Locate Features step before the Caliper step in your inspection.
Geometry Computes geometric features—such as line intersections, areas, and best-fit circles. The types of features you can compute depends on the number of previously located points you select. Refer to Geometry Concepts for related information.