An optical processing method is presented which allows the correlation of two images to be computed in real time with a 1-D acoustooptic spatial light modulator as the input device. Two-dimensional processing is accomplished by a combination of spatial and temporal integration. The time-integrating processing is performed by a CCD detector that is operated as an optically addressed.correlator.