TrainPatMaxRedLine

Extracts and trains a pattern from an image for use with the FindPatMaxRedLine function.

Note: A trained pattern consumes approximately 1MB when using the default Pattern Region (320 x 440), although the pattern size varies greatly depending on the size of the trained pattern.