After the pixel pattern and the search area are satisfactory, the user clicks OK on the special dialog and Triggers-III removes the dialog and the two rectangle selection widgets. The pixel pattern, however, remains displayed as an icon as in Figure 3.6 . The pixel pattern icon represents an object that encapsulates information about how to do pixel pattern match. So far it is not a step in the program being created. To record a step that actually does the operation into the program, the icon must first be selected by clicking on it.
Selection is indicated by a slightly wider black border on the icon.
Since the pixel pattern icon was just created, it is already selected. The pixel pattern icon moves to where the pixel pattern match operator found the pattern within the search area, although for this case it was already located at the first instance of the pattern. The next step to record is a pixel pattern match that will find the intersection point. A pixel pattern and search area that can accomplish this may not be obvious at first because the pattern of pixels around the intersection point varies from line to line. However, a combination of two techniques can solve this problem.