x-ray data extraction