1. A method of pattern recognition comprising the steps of: inputting a transform F of an input object f into a correlator: inputting said transform F into a matched spatial filter having a transmittance proportional to H* wherein said H* is a conjugate transform of a multiclass reference function defined by h, said matched filter outputting a transform FH*, and forming a transform correlation product f * h of FH*.