You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Scaling/lesson4.md
+56-68Lines changed: 56 additions & 68 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,9 @@
3
3
This lesson explains how we can use our own custom scaling function,
4
4
which we designed in Lesson 3 and combine it with the overall human body scaling laws.
5
5
6
-
:::{seealso}
6
+
```{seealso}
7
7
The section on scaling in the AMMR documentation.
8
-
:::
8
+
```
9
9
10
10
## Preparing for subject-specific scaling
11
11
@@ -22,21 +22,15 @@ from a CT-scan of one of his left femur. To increase the accuracy of our model,
22
22
let us improve it using a subject-specific scaling for the femur.
23
23
24
24
First of all, let us prepare a model matching the standard size man to
25
-
be the basis for further subject-specific improvements. Therefore we use the model from the
26
-
first section **ScalingStandard,** StandingModelScalingDisplay from the
27
-
AnyBody Managed Model Repository (AMMR). This is well suited to show how
25
+
be the basis for further subject-specific improvements. Therefore we use the [StandingModelScalingDisplay](ammr:sphx_glr_auto_examples_other_plot_standingmodelscalingdisplay.py) from the AnyBody Managed Model Repository (AMMR), with the `_SCALING_STANDARD_`, option. This is well suited to show how
28
26
to use subject-specific geometry in a model.
29
27
30
28
## Including custom scaling for a single segment
31
29
32
30
Let us configure this example to use ScalingStandard. We need to define
33
31
`BM_SCALING` as `_SCALING_STANDARD_` and out-comment all other parts of
34
32
the scaling configuration block. With this setting, the model is now scaled to
35
-
the generic size. We can now include individual scaling functions for each segment,
36
-
which will be done in a special file *CustomScaling.any*, where all the
37
-
modifications related to individual segment morphing are recommended to be done.
38
-
This file is already present in the example and you can include it as shown
In the AMMR version 1.6.2 such transformations will be segment dependent and
118
-
will only be needed for right and left shank and femur as well as for
112
+
In the **AMMR** such transformations will be segment dependent. It is only be needed for right and left shank and femur as well as for
119
113
the pelvis. For all other segments this transform can be defined as an
120
114
identity transformation or does not have to be applied to the source
121
-
entities. The following transforms can be referenced as TSeg2ScaleFrame,
122
-
the name that will be used further:
115
+
entities. The following transforms can be referenced as `TSeg2ScaleFrame` (**T**ransform **Seg**mental **2** to **Scale**ling **Frame**). That name that will be used further:
0 commit comments