# Train Params

Use the Train Params tab to set training parameters and to train the search pattern:

Use the following parameters to provide a framework for creating the trained pattern:

Parameter | Description
--- | ---
Pattern Display | Displays the trained pattern specified by the TrainRegion property within the TrainImage. You can modify the trained pattern in the Train Region & Origin tab or by resizing the TrainRegion in the Current.TrainImage. The edit control supports text at the bottom of the tab which indicates whether the PatMax RedLine tool is trained or not.
Grab Train Image | Copies the image in the input image buffer into the training image buffer.
Train | Trains the desired pattern as specified by the TrainRegion in the TrainImage.
Load Pattern | Opens a VisionPro persistence file, which has a VPP extension, that contains a trained pattern.
Save Pattern | Saves the current trained pattern into a VisionPro persistence file, which has a VPP extension.
Grain Limits | If the Auto option is not enabled for Coarse Grain Limit or Fine Grain Limit, the tool uses the value you supply.
Feature Threshold | Modify the default settings to determine what images features the tool considers strong enough for training. View the trained feature in the Current.TrainImage record to see the effect of different settings. Raising this threshold trains fewer features, while lowering it trains more features. Only adjust this parameter after you have looked at your trained pattern and confirmed that you need more (or fewer) image features. Large values (0.7 or higher) may produce too few features for accurate pattern finding. Large values may also eliminate so many features that it is impossible to even train a pattern.
Train Timeout | The maximum execution time (in milliseconds) allowed for a PatMax RedLine tool to train. Only applies if Train Timeout is enabled.