The present invention relates to a computer-implemented X-
ray imaging method for generating a panoramic image (1) with reduced overlap (8) of adjacent teeth, the method comprising the steps of acquiring a plurality of 2D X-
ray images (2) in a plurality of different X-
ray imaging directions (3) by rotating an X-ray source (4) and an X-ray
detector (5) around a patient's jaw (6), respectively, and further comprising the steps of identifying, from among the corresponding X-ray imaging directions (3), one or more regions (7) each including at least one pair of overlapping adjacent teeth (8) in the 2D X-ray images (2) and / or in a temporary panoramic image reconstructed from the 2D X-ray images (2), from which an optimal X-ray imaging direction (3') for reducing the overlap in the reconstructed panoramic image (1) can be determined, and determining, from among the corresponding X-ray imaging directions (3) of the 2D X-ray images identified in the step of identifying one or more regions (7) each including at least one pair of overlapping adjacent teeth (8), one or more optimal X-ray imaging directions (3') for reducing the overlap in the reconstructed panoramic image (1), respectively.