<p>The invention relates to an image for detection of an aerial pattern comprising spatial differences in radiation intensity in a cross section of a beam of radiation in a lithographic apparatus for exposing a substrate. The image sensor comprises a lens (5) arranged to form a detection image of the aerial pattern and an image detector (6) arranged to measure radiation intensities in a plurality, of positions in the detection image.</p>