Search for Shapes Using Shape Detection
Note The shape detection step works only with 8-bit images. |
Main Tab
- In the Step Name control, enter a descriptive name for the step.
- Verify that the Reposition Region of Interest option is enabled if you want to link the region of interest specified in this step to a previously defined coordinate system.
Link the region of interest to a coordinate system if the position of the object under inspection changes from image to image, and you need to adjust the position of the region of interest to match the new location of the object.
Curve Settings Tab
Modify the Extraction Mode, Edge Threshold, Edge Filter Size, Minimum Length, Row Search Step Size, and Column Search Step Size to improve edge detection, if necessary.
Shape Tab
- Select the type of shape you want to detect.
- Set the Descriptor values to indicate the size of the shapes to return.
Settings Tab
- Specify the minimum score a detected shape can have to be considered a valid match. This value can range from 0 to 1000, where a score of 1000 indicates a perfect match.
- Enable Search for Matches that are Rotated, Scaled, or Occluded to indicate that a match may be a rotated, scaled, or occluded version of the shape you want to detect. Specify an acceptable range for each parameter to restrict the amount of rotation, scale, or occlusion allowed in a valid shape.
- Click OK to save this step to the script.