A method of amplitude-compensated matched filtering is presented. This yields much better discrimination and a sharper autocorrelation peak compared with the classical matched spatial filter and the phase-only one. By computer simulation in the case of alphanumeric characters, it is concluded that, although the phase information is significantly more important, in the case of a matched filter, the amplitude is important too. Three-dimensional graphs of autocorrelation and cross-correlation are also provided.