CRITICAL UPDATE: Use new XMALab software for marker-based XROMM, including Undistortion, Calibration, Marker Tracking, and Rigid Bodies.
XMALab replaces MATLAB XrayProject. See Bitbucket XMALab wiki for XMALab User Manual (not this wiki). 

Calculate Rigid Body Motion

  1. Type rigidBody into the MATLAB commandline.
  2. Select the .csv file with your calculated CT marker coordinates.
  3. Select your unfiltered (xyzpts.csv) or filtered (xyzptsButter##.csv) data file.
  4. Type the number of bones in the input box.
  5. Select the markers associated with each bone (omit any markers with all NaNs, i.e. markers that were not digitized).
  6. Save the file output.
Other details: