HI,
I tried scaling my base model using Opensim 4.1 GUI first with the option Preview (no marker movement) selected. This scaling worked fine, the markers were over the scaled model as expected. Hence, I saved the settings for ScaleSetup.xml file to use the same for other subjects from Matlab. But when I scale from matlab and view thus the scaled models through GUI, the markers are moved away from the model as shown in the attachment(MovedMArkers.png). Can you kindly help on what shoud be done to overcome this? Have attached all basic files along with this request for your reference.
Thanks,
Mritula
Experimental markers after scaling doesnot overlay on the model
- Mritula Chandrasekaran
- Posts: 94
- Joined: Tue Dec 19, 2017 5:36 am
Experimental markers after scaling doesnot overlay on the model
- Attachments
-
- OpensimScalingReq.zip
- (141.18 KiB) Downloaded 78 times
Tags:
- Dimitar Stanev
- Posts: 1096
- Joined: Fri Jan 31, 2014 5:14 am
Re: Experimental markers after scaling doesnot overlay on the model
Hi Mritula,
I think that you are using the marker adjustment and not the marker scaling in the setup file. In your png file this is the second section. The scaling tool performs two things:
1. scale the model (you have to provide the .trc in in Marker data for measurements).
2. after scaling the model, it adjusts the marker positions to best fit the experimental data (this is the second part: Adjust Model Markers).
Sometimes, the scale tool might not export all the options properly so that you can run in in Matlab or command line. In that case, you have to manually open the .xml file with an editor and fill the missing entries.
I think that you are using the marker adjustment and not the marker scaling in the setup file. In your png file this is the second section. The scaling tool performs two things:
1. scale the model (you have to provide the .trc in in Marker data for measurements).
2. after scaling the model, it adjusts the marker positions to best fit the experimental data (this is the second part: Adjust Model Markers).
Sometimes, the scale tool might not export all the options properly so that you can run in in Matlab or command line. In that case, you have to manually open the .xml file with an editor and fill the missing entries.
- Mritula Chandrasekaran
- Posts: 94
- Joined: Tue Dec 19, 2017 5:36 am
Re: Experimental markers after scaling doesnot overlay on the model
Hi Dimitar,
Thanks for your reply. I did try as you said. Gave the static.trc file in scale model and adjust model marker sections, but still the same. Can you let me know how am I to include preview static pose(no marker moment) in the setup xml file? And by filling the missing entries what do you exactly mean?
Thanks,
Mritula
Thanks for your reply. I did try as you said. Gave the static.trc file in scale model and adjust model marker sections, but still the same. Can you let me know how am I to include preview static pose(no marker moment) in the setup xml file? And by filling the missing entries what do you exactly mean?
Thanks,
Mritula
- Mritula Chandrasekaran
- Posts: 94
- Joined: Tue Dec 19, 2017 5:36 am
Re: Experimental markers after scaling doesnot overlay on the model
Hi,
I did the same with Opensim 3.3 but it works fine. The markers are over the model when I load it in Opensim 3.3. I have attached the Setupscale XML used for Opensim 3.3 as well
I did the same with Opensim 3.3 but it works fine. The markers are over the model when I load it in Opensim 3.3. I have attached the Setupscale XML used for Opensim 3.3 as well
- Attachments
-
- Opensim33_Scaled.xml
- (9.69 KiB) Downloaded 70 times