Detection theory approach to multichannel pattern location