GMRV Publications

gVirtualXRay: Virtual X-Ray Imaging Library on GPU

Aaron Sujar, Andreas Meuleman, Pierre-Frédéric Villard, Marcos J. García-Lorenzo, Franck P. Vidal
Computer Graphics and Visual Computing, page 61-68 - September 2017
Download the publication : EGUK.pdf [3.8Mo]  
We present an Open-source library called gVirtualXRay to simulate realistic X-ray images in realtime. It implements the attenuation law (also called Beer-Lambert) on GPU. It takes into account the polychromatism of the beam spectra as well as the finite size of X-ray tubes. The library is written in C++ using modern OpenGL. It is fully portable and works on most common desktop/laptop computers. It has been tested on MS Windows, Linux, and Mac OS X. It supports a wide range of windowing solutions, such as FLTK, GLUT, GLFW3, Qt4, and Qt5. The library also offers realistic visual rendering of anatomical structures, including bones, liver, diaphragm and lungs. The accuracy of the X-ray images produced by gVirtualXRays implementation has been validated using Geant4, a well established state-of-the-art Monte Carlo simulation toolkit developed by CERN. gVirtualXRay can be used in a wide range of applications where fast and accurate X-ray simulations from polygon meshes are needed, e.g. medical simulators for training purposes, simulation of tomography data acquisition with patient motion to include artefacts in reconstructed CT images, and deformable registration. Our application example package includes real-time respiration and X-ray simulation, CT acquisition and reconstruction, and iso-surfacing of implicit functions using Marching Cubes

Images and movies

Captura1.png [92Ko]
Procedure.mp4 [16.4Mo]

BibTex references

  author       = "Sujar, Aaron and Meuleman, Andreas  and Villard, Pierre-Frédéric and García-Lorenzo, Marcos J. and P. Vidal, Franck",
  title        = "gVirtualXRay: Virtual X-Ray Imaging Library on GPU",
  booktitle    = "Computer Graphics and Visual Computing",
  series       = "Computer Graphics and Visual Computing",
  pages        = "61-68",
  month        = "September",
  year         = "2017",
  editor       = "Tao Ruan Wan and Franck Vidal",
  publisher    = "The Eurographics Association",
  url          = ""

Other publications in the database

» Aaron Sujar
» Marcos J. García-Lorenzo
» Franck P. Vidal