Model Scaling, RSM and Maximum Marker Error

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Claudia Ghidini
Posts: 3
Joined: Wed Jul 19, 2023 10:33 am

Model Scaling, RSM and Maximum Marker Error

Post by Claudia Ghidini » Tue Aug 06, 2024 8:58 am

Hello everyone,

I am using opensim for gait analysis (kinematic) with lower-limb amputees but I am facing a problem when scaling my model.

I get high errors but then visually checking the experimental and model markers it looks like the error should be really low. Does anyone have any suggestions on what to change? I am only weighting markers on anatomical landmarks for scaling and I have slightly moved the markers on the general model to account for the prosthesis (e.g., femoral condyles are moved outer compared to able body people).

Also is there a way to export the markers error?

Thanks so much!

[img][
Scaling Old prosthesis.PNG
Scaling Old prosthesis.PNG (220.69 KiB) Viewed 374 times
/img]
Reported errors:
Frame at (t = 2.5): total squared error = 0.00967638, marker error: RMS = 0.0219959, max = 0.0488547 (L_MKNEE)

Tags:

User avatar
Carmichael Ong
Posts: 387
Joined: Fri Feb 24, 2012 11:50 am

Re: Model Scaling, RSM and Maximum Marker Error

Post by Carmichael Ong » Tue Aug 13, 2024 11:42 am

There are some extra options with IK that you can use by editing an existing setup. You can create the setup file from the GUI by saving the settings, and then you can open up the setup file in a text editor (such as Notepad++).

One helpful way to see all the tags is the XML Browser (in the GUI, Help -> XML Browser) and then looking up the name that shows up in the setup file (in this case, InverseKinematicsTool). It will look something like this:
xmlbrowser-iktool.png
xmlbrowser-iktool.png (301.51 KiB) Viewed 284 times
Adjusting some of the flags, such as "report_errors" and "report_marker_locations" to true could be helpful for your use case here.

User avatar
Claudia Ghidini
Posts: 3
Joined: Wed Jul 19, 2023 10:33 am

Re: Model Scaling, RSM and Maximum Marker Error

Post by Claudia Ghidini » Fri Aug 16, 2024 4:47 am

Thank you for your reply!

Anyways, I have found the problem in the scaling. I have modified the model but not exported the new markerset. So when I was scaling it was still using the unmodified markerset hence the error was still high even if the model looked visually correct.

For whoever needs to modify a model and use some manual marker measurement taken during data collection, remember to use the modified model + the new modified markerset when scaling.

POST REPLY