The present invention relates to a device (1) for providing image data during an extraction procedure for extracting a lead from the body of a subject using an extraction device (7). The device comprises an input (2) for receiving live x-ray projection image data of the lead during the extraction procedure and for receiving three-dimensional image data as acquired before the extraction procedure. A processing unit (3) determines a position of the extraction device (7) in the three-dimensional image data by detecting the position in the live projection image data during the procedure and correlates this position in the live projection image data with the position in the three-dimensional image data. An output (4) generates an image of a cross-sectional view of the lead and/or its surrounding body structure at the determined position based on the three-dimensional image data.