# Train Region & Origin

Use the Train Region & Origin tab to define the TrainRegion, which defines the area of the TrainImage buffer that becomes the trained pattern. It may be easier to first specify the training region graphically, then use this tab to fine tune the train region parameters. The PatMax RedLine edit control updates the train region values so that the values on this tab always match the shape of the train region in the Current.TrainImage buffer.

Click Train to train the desired pattern as specified by the TrainRegion in the TrainImage.

Configure the following parameters for the TrainRegion and Origin of the training pattern: