A pattern recognition and classification system has been studied which computes the inner products of an input pattern with a generalized set of pattern functions. The system utilizes a filter whose impulse response consists of an amplitude superposition of a set of generalized pattern functions in phase-coded form and has a space-bandwidth product the same as that of a matched filter for one pattern function. Each pattern function in the general set may correspond to a different variation (e.g., scale or rotation) of the object to be detected. Because the amplitude superposition of the phase-coded pattern functions takes place in the digital computer, and the filter is created as a computer-generated hologram, the biasing problem of conventional, multiple exposure (intensity superposition) holograms is significantly reduced. This makes it possible to encode many more pattern functions than was previously possible using multiple exposure techniques. Furthermore, the use of computer-generated holograms eliminates the need to generate a transparency for each pattern function and complex phase code. To facilitate real-time operation a hybrid system was constructed consisting of a liquid crystal light valve for incoherent-to-coherent image conversion, a TV camera and image digitizer for image analysis, and a laser scanner to produce the computer-generated holograms. Both the TV camera/digitizer and the laser scanner systems were interfaced to a digital computer for automatic operation. Experimental results using the hybrid system are presented for pattern recognition of rotated and scaled objects and pattern classification. In the second half of the paper we provide an analysis on the SNR of the processor employing the coded-phase technique, on the diffraction efficiencies of computer-generated filters (amplitude superposition) vs conventional filters (intensity superposition), and on the number of pattern functions required for a certain recognition task.