world2rel
world2rel(P, P0)
Converts world coordinates to relative coordinates
Parameters:
Name | Type | Description | Default |
---|---|---|---|
P |
(frames, b, 3, 4) float numpy array
|
World transformation of each bone |
required |
P0 |
(b, 3, 4) float numpy array
|
World transformation of each bone at the first frame |
required |
Returns:
Name | Type | Description |
---|---|---|
Prel |
(frames, b, 3, 4) float numpy array
|
Relative transformation of each bone |
Source code in src\fast_cody\world2rel.py
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
|