Hi…How to get c arm video as multiple x ray images frame by frame… How to extract video from c arm in a computer… please guide…ty
You can use the PLUS toolkit to acquire live X-ray images from a C-arm using a framegrabber and the send the images to Slicer via OpenIGTLink. You can find many tutorials on the SlicerIGT project website for ultrasound - framegrabbing of X-ray images works the same way.
You can also use the PLUS toolkit to acquire C-arm orientation using a pose tracker or IMU or MARG sensor.
This will very much depend on the C-arm device you’re using and the interfaces it supports.
In our lab, we use a Ziehm vision RFD C-arm which has an analog video out. We use an analog USB video grabber stick to acquire the image that is currently displayed on screen, but with nasty watermark overlays and decreased resolution (it is a PAL signal…). But for prototyping, this is perfectly fine. Then, proceed with SlicerIGT and an IGT server like Plus as @lassoan suggested (we use Python OpenCV to grab frames and pyigtl to talk to Slicer via SlicerIGT).
You might be able to get higher res images or even full sequences by accessing a PACS or connecting your C-arm to your own PACS like Orthanc. For our Ziehm Vision, this was not an option as it doesn’t support DICOM query/retrieve.