The nonlinear diffraction property of a volume grating written by two-wave mixing in a cerium-doped potassium sodium strontium barium niobate crystal is applied in a coherent image processing system to obtain real-time image edge enhancement as well as edge-enhanced optical correlation. The theoretical analysis of the correlator is given, and the experimental results of optical correlation are presented, which are compared with the computer-simulated results.