# Training with Varying Background

Composite pattern training can also be used to filter out background changes. For example, it allows you to train a pattern that you can use to locate a component at different locations on a printed circuit board, where the background, consisting of electrical connection (tracks and solder) differs at each location. Composite PatMax training is particularly useful when you need to use images of the part already attached to the circuit board for training, as shown in the following figure.