Template matching techniques for high accuracy workpiece measurements | Synapse