The invention relates to an X-ray imaging device including a rotary collimator having a region (22) which is opaque to X-rays, a first slot (24) and a second slot (26), which are transparent to X-rays and extend in two different directions, passing through the opaque region, the collimator making it possible to determine the position of an element provided with X-ray sensors in an imaging system (FIG. 1).