Example: Circle Distance
This example demonstrates gauging by measuring the distances between the circular holes on a part. The part contains both circular and square holes. The part is imaged using a back light so that the holes and the background appear as white regions in the image while the part appears as the black region. Blob analysis is used to detect and isolate the circular holes in the part, and the distances between the center of mass of each detected hole are computed. An automatic thresholding technique is used to detect all the white regions in the image, including all the holes and the background, and the Heywood Circularity shape feature to determine if a particle is circular. The Heywood Circularity parameter has a value close to one for circular regions.
Example Location
<Vision>\Examples\MSVB\Examples\3. Applications\Circle Distance