Dental Floss Inspection

NI Vision Assistant

Dental Floss Inspection

Application Type Inspection
Image Characteristics Monochrome; Good Contrast
Image Processing Tools Pattern Matching; Set Coordinate System; Quantify

The dental floss inspection determines if dental floss holders contain toothpaste and a wire. The dental floss holders appear shifted and rotated from one image to another. To account for the different locations, this application uses the Set Coordinate System step to define a coordinate system relative to the feature found in the Pattern Matching step, the base of the dental floss holder.

Pattern Matching—Locates the dental floss base. The base is always in the field of view of the camera despite the different locations the dental floss holders may appear in from image to image. This feature is used to define the coordinate system.

Set Coordinate System—Defines a coordinate system based on the Pattern Matching step. Because the dental floss holders appear shifted and rotated from one image to another, the changes in the region of interest are accounted for using the Horizontal, Vertical, and Angular Motion mode. This mode adjusts the region of interest positions along the horizontal and vertical axes, and adjusts for rotational changes.

Quantify—Checks the dental floss holders for the presence of toothpaste and a wire. This step measures the pixel intensities of three regions of interest within the image—the wire, and the two toothpaste regions. This step uses the Reposition Region of Interest control to link the regions of interest specified in this step to the previously defined coordinate system. Vision Assistant can adjust the location and orientation of the regions of interest from image to image relative to the coordinate system.