rg2 / xreg

Library and executables for modeling and registration applications in medical image analysis. Particular emphasis on intraoperative fluoroscopic (X-ray) navigation via 2D/3D registration.
MIT License
91 stars 18 forks source link

FCSV files created in recent 3D Slicer versions are not properly parsed #12

Closed rg2 closed 2 years ago

rg2 commented 2 years ago

The default behavior of recent 3D Slicer versions (e.g. 4.11.x) is to write FCSV files with points already in LPS coordinates. The xReg parsing code assumes RAS coordinates, consistent with FCSV files saved from Slicer 4.10.

Modifications should be made that check the file version and coordinate system strings.

rg2 commented 2 years ago

PR #14 adds correct support for reading FCSV files created using 3D Slicer 4.11.x and 5.x.