| Algorithm 2. Editing joint connections. |
|
1. Input:
n: number of skeletons |
| 2. Output: |
| 3. |
| 4. for (, ) in enumerate(): |
| 5. for in : |
| 6. if not(belong_to_area()): |
| 7. .remove() |
| 8. .remove(all connections of joint) |
| 9. return |
| Algorithm 2. Editing joint connections. |
|
1. Input:
n: number of skeletons |
| 2. Output: |
| 3. |
| 4. for (, ) in enumerate(): |
| 5. for in : |
| 6. if not(belong_to_area()): |
| 7. .remove() |
| 8. .remove(all connections of joint) |
| 9. return |