The invention is related to processing x-ray imaging data, specifically phase contrast x-ray imaging data, and addresses the problems associated, for example, with vibrations in grating-based differential phase contrast imaging by making use of spectral information. It was realized that one may make use of the spectral information in determining the vibration state of the Moiré pattern based on multi-energy-bin x-ray detectors, the energy independence of vibration-induced Moiré pattern phase shifts, the energy dependence of object-induced Moiré pattern phase shifts and a phantom designed to allow for measuring the dependence of the object-induced phase shift as a function of the energy bin. In particular, it was found that by suitable data processing the vibration-induced shifts and the like can be disentangled from the object properties and hence vibration artifacts in the image are reduced, while there is no particular need for changing the basic physical structure of the imaging device.La présente invention concerne le traitement de données d'imagerie par rayons X, spécifiquement des données d'imagerie par rayons X à contraste de phase, et traite les problèmes associés, par exemple, à des vibrations dans une imagerie de contraste de phase différentielle basée sur un réseau par l'utilisation d'informations spectrales. Il a été réalisé qu'il est possible d'utiliser les informations spectrales dans la détermination de l'état de vibration du motif de moiré sur la base de détecteurs de rayons X à multiples compartiments d'énergie, l'indépendance énergétique des déphasages des motifs de moiré induits par des vibrations, la dépendance énergétique des déphasages des motifs de moiré induits par l'objet et un fantôme conçu pour permettre la mesure de la dépendance du déphasage induit par l'objet en fonction du compartiment d'énergie. En particulier, il a été découvert que, par un traitement de données approprié, les déphasages induits par les vibrations et similaires peuve