# Inspect Watch Dials — Steps

Note: For more information on the specific steps of setting up the tools, see the Using the Blue Locate Tool and Using the Red Analyze Tool topics.

1. Add the images for the Dials tutorial.
2. Add a Blue Locate tool.
3. Segment the images by adjusting the ROI of the Blue Locate tool to enclose the watch dial.
4. Set the Feature Size parameter to 100.
5. Select at least two features (for example the center and the hole under the "B"), and label them in at least 3 images.
6. Compensate for the variability in the orientation of the dial by adding some rotation during the training phase by changing the Rotation Perturbation parameter interval to [0,360].
7. Train the system and review the results.
8. Manually label any of the images where the features were not found correctly.
9. If you had to manually label new images, retrain the system and review the results again.
10. In one of the images, select two of the labeled features, right-click on the View and select Create Model from the menu and create a model named "dial".
11. Reprocess the images and make sure the model is correctly found.
12. Add a Red Analyze tool, and configure the ROI setting to use the "dial" model, and set the size of the ROI to 1850 x 1850.
13. Segment all the images and verify that the images in the database are correctly segmented.
14. Label all the images as Good, and then use the display filter to label the images which contain the word "bad" in their filename as Bad.
15. Create a mask to hide the background, the small circles on the surface and the half-moon shape.
16. In the Image Display Area, right-click and select Edit Mask from the menu.

    1. Select the Circle Tool, and from the center of the dial, draw the circle outward to the edge.

    2. With the circle mask in place, press the Invert button to have the mask cover the outside of the circle.

    3. Select the Circle Tool and apply circle masks to each of the other circular features in the image.

    4. Select the Magic Wand tool, and holding down the Shift key, drag the wand over the shape to fill it in.

    5. With all of the masks in place, press the Apply button, which will launch the Apply Mask dialog, allowing you to apply the mask to all of the images.

    6. Press the Close button to close the Edit Mask phase. The mask should now be applied to all of the images.

17. Train the tool and review the results, validating that the tool correctly marked the defects. If you have to adjust any of the parameters associated with training, or you have to re-label an image, you will need to retrain the tool and re-validate the results.