Differences between revisions 2 and 3
Revision 2 as of 2018-02-12 19:37:08
Size: 1371
Editor: ricimorrill1
Comment:
Revision 3 as of 2018-05-21 16:05:26
Size: 1893
Editor: ricimorrill1
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
== Tibiofemoral Joint == == Registration ==
Line 14: Line 14:
 1. Create registration xml ([[https://simtk.org/svn/openknee/utl/Registration/TF_Registration/oks001_registration_01.xml| Example Registration XML]])
 1. Run script from command line [[https://simtk.org/svn/openknee/utl/Registration/TF_Registration/convert_to_image_CS.py|Script]]
 1. Create registration xml ([[https://simtk.org/svn/openknee/utl/Registration/Registration_final/oks001_registration_01.xml| Example Registration XML]])
 1. Run script from command line [[https://simtk.org/svn/openknee/utl/Registration/Registration_final/convert_to_image_CS.py|Registration Script]]
Line 17: Line 17:
  1. Run '''convert_to_image_CS.py <oks00x_registration_0x> <1>'''
  1. Run '''convert_to_image_CS.py <oks00x_registration_0x.xml> <1>'''
Line 24: Line 23:
== Patellofemoral Joint == == Re-sample Data for Model Input ==
 1. Create text file with desired tdms file(s) you would like to re-sample
 1. Place in the appropriate directory !KinematicsKinetics of either the !TibioFemoral or !PatelloFemoral test directories.
 1. Run script from command line [[https://simtk.org/svn/openknee/utl/Registration/Registration_final/resampling_plotting.py|Re-sampling Script]]
   1. Change directory to desired !OpenKnee specimen (e.g. oks001)
   1. Run '''resampling_potting.py <oks00x_registration_0x.xml> <oks0x_xF.txt>

Target

  1. Create visualization of experimental tests in modeling (image) coordinate system.
  2. Prepare experimental data for model inputs.

Registration

  1. Download joint mechanics .zip file from Downloads page.
  2. Download the desired registration markers and bone STLs (place in folder named mri-oks00x, where x is the specimen ID).
    • 3 registration marker stls for tibia
    • 3 registration marker stls for femur
    • stl for tibia bone
    • stl for femur bone
  3. Create registration xml (Example Registration XML)

  4. Run script from command line Registration Script

    1. Change directory to desired OpenKnee specimen (e.g. oks001)

    2. Run convert_to_image_CS.py <oks00x_registration_0x.xml> <1>

Example using oks001 - 004_passive flexion
White stls - segmentation from MRI. Colored bone stls - progression throughout test (red = initial, green = 1/4 way through test, blue = 1/2 way through test). Colored registration marker stls - spheres from calculated center of digitized points.
OK_reg1.png

Re-sample Data for Model Input

  1. Create text file with desired tdms file(s) you would like to re-sample
  2. Place in the appropriate directory KinematicsKinetics of either the TibioFemoral or PatelloFemoral test directories.

  3. Run script from command line Re-sampling Script

    1. Change directory to desired OpenKnee specimen (e.g. oks001)

    2. Run resampling_potting.py <oks00x_registration_0x.xml> <oks0x_xF.txt>

Specifications/ModelingKinematicsKinetics/Discussion (last edited 2019-02-19 18:20:02 by ricimorrill1)