Scaling bone geometry
Posted: Thu Apr 05, 2018 7:27 am
I'm having an issue scaling the bone geometry of my model. I want the torso i.e. spine to adjust it's length accordingly to the marker pair 'T10 & C7'. Likewise I would also like the rib cage to adjust in depth accordingly to the marker pair 'T10 & Xiphoid' and for the shoulder width dependent on the 'R_Acromium & L_Acromium'. I've adjusted the code for the scale set-up file as shown below:
Unfortunately the bone geometry does not appear to change drastically and a considerable difference between my virtual and experimental markers still remains. If the model scaled the bone geometry correctly, then I can't see any reason to start increasing the weights of the markers. Does anyone have any suggestions or see problems with the code? I would assume that this would be possible to do in order to generate models with greater subject specificity?
Code: Select all
<Measurement name="torso">
<!--Flag to turn on and off scaling for this measurement.-->
<apply> true </apply>
<!--Set of marker pairs used to determine the scale factors.-->
<MarkerPairSet name="">
<objects>
<MarkerPair name="">
<!--Names of two markers, the distance between which is used to compute a
body scale factor.-->
<markers> T10 C7 </markers>
</MarkerPair>
<MarkerPair name="">
<markers> RightAcromium LeftAcromium </markers>
</MarkerPair>
<MarkerPair name="">
<markers> T10 Sternum </markers>
</MarkerPair>
</objects>
<groups/>
</MarkerPairSet>
<!--Set of bodies to be scaled by this measurement.-->
<BodyScaleSet name="">
<objects>
<BodyScale name="torso">
<!--Axes (X Y Z) along which to scale a body. For example, 'X Y Z' scales
along all three axes, and 'Y' scales just along the Y axis.-->
<axes> Y </axes>
</BodyScale>
<BodyScale name="torso">
<!--Axes (X Y Z) along which to scale a body. For example, 'X Y Z' scales
along all three axes, and 'Y' scales just along the Y axis.-->
<axes> Z </axes>
</BodyScale>
<BodyScale name="torso">
<!--Axes (X Y Z) along which to scale a body. For example, 'X Y Z' scales
along all three axes, and 'Y' scales just along the Y axis.-->
<axes> X </axes>
</BodyScale>
</objects>
<groups/>
</BodyScaleSet>
</Measurement>