Grating phase contrast imaging

Hello everyone, how can I use Geant4 to simulate X-ray grating phase contrast imaging or combine Geant4 with other software for grating phase contrast imaging image processing.