A lensless Vanderlugt optical correlator using two phase-only spatial light modulators (SLMs) is proposed. The SLMs are used for displaying input and filter patterns respectively. The SLMs are also used as programmable lenses in order to realize the lensl