We demonstrate a compact optical correlator using a diffractive optical element (DOE) beam splitter for 2D optical image processing. Image frequency conversion and correlation are demonstrated using third-harmonic generation (THG) in an organic film with a 1550 nm femtosecond laser. Spatial and temporal alignment of the femtosecond pulses are obtained by imaging the DOE onto the organic film.