We consider the fundamental problem of matching a template to signal. do so by M-estimation, which encompasses procedures that are robust gross errors (i.e., outliers). Using standard results from empirical process theory, we derive convergence rate and asymptotic distribution M-estimator under relatively mild assumptions. also discuss optimality estimator, both in finite samples minimax sense ...