# Configure PatMax RedLine Functions to Output Fixture Data for the ViDiCheck Tool

1. Add a TrainPatMaxRedLine function to the spreadsheet and open its property sheet.

2. Select the Pattern Region parameter and then press the Edit Graphics button to enter interactive graphics mode so that you can configure the region.

3. Configure the Pattern Region to cover the intersection of the squares in the middle of the box.

4. For this application, the Auto Select Fine parameter has been disabled, and the Fine Granularity parameter has been set to its maximum to compensate for the reflective surface. In addition, the Feature Threshold parameter has been increased to ignore additional low contrast features.

5. Add a FindPatMaxRedLine function to the spreadsheet and open its property sheet.

6. Select the Find Region parameter and press the Maximize Region button so that the Find Region covers the entire image.
7. Select the Pattern region and set it as an absolute reference to the Patterns data structured returned by the TrainPatMaxRedLine function.

8. Cycle through the images using the Filmstrip and ensure that the pattern is being accurately found in all of the images.

9. In this example, the Find Tolerances parameters were adjusted to accommodate changes in angular orientation of the boxes, as well as changes in scale.