W.sub.2, . . . , W.sub.p, R), where W.sub.i =e.sub.i (y-x), p is a positive integer constant less than the number of elements of the pattern y, and R is the reconstruction error statistic and equals ##EQU1## By applying a likelihood statistic function