An apparatus for detecting the presence of one or more images of a known
kind in a scene is disclosed which comprises a digital input means and an
optical output means. The digital input means comprises a capture means
which passes a capture image to a first electronic processing means to
produce a scene pattern corresponding to a Fourier Transform of the scene
image. This pattern is then digitally combined with one or more reference
patterns corresponding to Fourier Transforms of a reference image. The
resulting combined patterns are then used to modulate a beam of light
which may be focused to perform an inverse Fourier Transform providing
correlation information. In a preferred embodiment, the combined pattern
is displayed on a spatial light modulator. A "smart" spatial light
modulator is also disclosed which comprises an array of light modulating
devices, each device comprising a detector and at least one pixel,
whereby light incident upon the detector produces an output signal which
is adapted to control the state of the modulating medium. By suitable
processing, the "smart" SLM may be adapted to either attenuate light
below a certain intensity or only light above a certain intensity to act
as a saturable absorber.