# Modifying a PatMax Tool Used for Fixturing

Suppose you have trained a Red Analyze tool using a PatMax fixture. Now, suppose that a new feature is chosen to fixture the Views, and the PatMax tool is re-trained to find this new feature.

When the Red Analyze tool consumes these new Poses, the View will shift and will no longer be in the desired position:

It is easy enough to realign the ROI and Mask, but notice that the defect (outlined in blue) is no longer labeled. Because the View was shifted such that the label was no longer part of the View, the label was removed.

Consider this other image's View where the labeled defect is still part of the shifted View:

Because the labeled defect is still part of the View, the label remains. In particular, the label is exactly in the same spot on the original image, even though the View shifted. Essentially, the Image Coordinates of the labeled defect did not change, but new View Coordinates were generated when the Pose changed and the View shifted. The View is also labeled as bad (red flag) while the other View is now labeled as good (green flag) because it has no defects.

## Conclusion

When the View for an image changes, any labels that are not contained within the new View's ROI are deleted from that image when the tool processes the new view. These changes may happen because an upstream PatMax tool is modified, but they can also happen when an upstream Blue tool is modified, or when the View's ROI is adjusted manually.