User Tools

Site Tools


visual3d:tutorials:modeling:plug-in_gait_lower_limb

Plug-In Gait Lower Limb

N.B. While every effort has been made to ensure the correct implementation of the Plug-In Gait model in Visual3D, some differences may still persist, most likely caused by the different pose estimations used within Nexus and Visual3D. Please report any errors to support@has-motion.com.

NOTE: This tutorial has been updated. The original format can be found here.

Introduction

The conventional gait model (CGM) has many variations and can go by many names: Helen Hayes, Vicon Clinical Manager, Newington, and Cleveland Clinic to name a few. We highly recommend reading the Tutorial: Building a Conventional Gait Model prior to going through this tutorial.

Workstation or Nexus users will be familiar with the Plug-In Gait variation as Vicon's implementation of the CGM.

In this tutorial, we describe this implementation of Vicon's Plug-In Gait using Visual3D.

Pose Estimation

Plug-In Gait uses a Direct (Non-Optimal) Pose Estimation for computing the position and orientation of each segment based on a set of 3 tracking markers.

Visual3D uses either Segment Optimization or Global Optimization pose estimation algorithms.

The results of the implementation of the Plug-In Gait model in Visual3D will differ slightly from the Vicon PIG implementation, but the differences are sufficiently modest that there are no clinically significant differences.

Conventional Gait Model Decisions

Since there are variations of the conventional gait model, decisions must be made prior to marker placement and data collection. The diagram below lays out some of the decisions based on body segment. This is not comprehensive since many variations exist. The following sections describe the conventional gait model marker placement locations and challenges based on these options.

In the case of the Plug-In Gait, the decisions have already been made for option 2(c), 4(b) and 5(b). Using Visual3D, it is possible to opt for different model decisions if needed or relevant. This would however not be consistent with the Plug-In Gait's implementation per se.

Manual Metrics For Plug-In Gait

The following should be measured during the data collection:

  • Height (m)
  • Weight (kg)
  • Left and Right Knee width (m)
  • Left and Right Ankle width (m)
  • Marker Radius (m)

The following metrics can be collected manually, or estimated using equations (if estimated using equations, they do not need to be manually recorded):

  • Left and Right Leg length (m)
    • This can be estimated by calculating the distance from the ASIS target to the lateral ankle target
  • ASIS to greater trochanter distance (m)
    • This can be calculated from a regression equation: 0.1288*Leg Length-0.04856

NOTE: Plug-in Gait uses the average of the two values (left and right sides) to compute the joint centers.

Plug-In Gait Marker Sets

You can place four targets on the pelvis (right/left anterior iliac spine, and right/left posterior iliac spine), or place three targets on the pelvis (right/left anterior iliac spine, and the mid point of the right/left posterior iliac spine). The images below display the four marker version of the pelvis.

The typical Plug-In Gait marker set is displayed below:

Some labs use a Knee Alignment device during the static trial, and then place the lateral knee target for the dynamic trials. The image below displays the marker set for the static trial when using the knee alignment device:


Pelvis Marker Placement Considerations

The plane of the Pelvis is visualized as a triangle or plane that is formed by either the three markers: the Right and Left Anterior Superior Iliac Spines (RIAS and LIAS) and either a Sacrum marker (SACR marker) or the mid-point between the Posterior Superior Iliac Spines (SACR Landmark).

Place the centers of the markers over both Anterior Superior Iliac Spines (ASIS's). The sacral marker (SACR) is placed over the mid-point of the Posterior Superior Illiac spines (RIPS and LIPS).

The origin of the pelvis is at the mid-point of the ASIS markers and perpendicular to the line joining them regardless of the position of the PSIS markers. Since this is the case, medial/lateral position of the PSIS markers is not critical but care should be taken regarding the vertical position.


Thigh Marker Placement Considerations (without using Knee Alignment Device)

The upper leg segment can be visualized as a triangle or plane formed by the Hip Joint Center (RIGH_HIP, LEFT_HIP), lateral thigh marker and lateral knee marker. Palpate lateral epicondyles to estimate the knee flexion/extension axis. Place a marker on the right and left Lateral Epicondyles (RKNE, LKNE) to approximate this axis. This should be done in the standing position with the subject passively flexing and extending the joint to confirm placement. You are looking for a point that is fixed in the thigh and about which the lower leg appears to rotate. Mark that location with eyeliner pencil or a pen.

When not using a Knee Alignment Device (KAD) the placement of the thigh markers (RTHI, LTHI) or wands (stick on a base with an attached marker) is critical. This marker is used to define the frontal plane of the femur (knee flexion/extension axis location and orientation). The distal 1/3 of the thigh is the best location to decrease movement due to muscle bulk and swing of the hands. The vertical height is not critical but try not place the thigh marker too low on the thigh. The anterior/posterior position of this marker is critical and it is extremely difficult to visualize. Adjust the marker so that it is aligned in the plane that contains the hip and knee joint centers and the knee flexion/extension axis. Position this marker standing and observe knee flexion/extension to confirm.


Knee Alignment Device Placement Considerations

The upper leg segment can be visualized as a triangle or plane formed by the Hip Joint Center (RIGHT_HIP, LEFT_HIP), lateral thigh marker and lateral knee marker. The difference in this variation is that a Knee Alignment Device (KAD) is used in the static trial to define the coronal plane for the knee. Palpate the lateral epicondyles to estimate the knee flexion/extension axis. Place the KAD over the epicondyles such that the device is in line with the visualized knee flexion/extension axis. This should be done in standing position.

After the subject static calibration trial, remove the KAD and mark the KAD location on the lateral epicondyle with a eyeliner pencil or pen. Place a marker on that location (RKNE, LKNE). Placement of the thigh (RTHI, LTHI) markers or wands (stick on a base with an attached marker) is not critical in this case so it can be placed anywhere on the thigh.

The KAD can be aligned improperly or can slip after placement. If this does occur, then the knee's frontal plane will be improperly defined. Care should be taken when using the KAD. As a safety measure, it may be best practice when using the KAD to align the thigh marker correctly or use medial knee markers (which is detailed in the next section) and collect a static trial with the KAD and one without the KAD. A choice can be made post data collection on whether to use the KAD alignment or the thigh or medial knee alignment.


Shank Marker Placement Considerations

The lower leg segment can be visualized as a triangle or plane formed by the Knee Joint Center and the Ankle Flexion/Extension axis (Transmalleolar axis). Palpate the medial and lateral malleoli and visualize an imaginary line that runs through the transmalleolar axis. Place a marker on the right and left Lateral Malleolus (RFAL, LFAL) along that line. Remember to mark that location with eyeliner pencil or a pen.

As in the thigh, the placement of the shank markers (RSK, LSK) or wands (stick on a base with an attached marker) is critical. This marker is used to define the coronal plane of the tibia (ankle flexion/extension axis location and orientation). The distal 1/3 of the tibia is the best location to decrease movement due to muscle bulk. The vertical height is not critical but try not place the shank marker too low on the shank. The anterior/posterior position of this marker is critical and it is extremely difficult to visualize. An alignment reference device such as a ruler under the subject's heel can be used to visualize the placement. Adjust the marker so that it is aligned in the plane that contains the knee and ankle joint centers and the ankle flexion/extension axis. This marker can be placed in a seated position but should be checked when standing to confirm.


Foot Marker Placement Considerations

The foot is visualized as a line along the long axis of the foot from the 2nd metatarsal heads and the ankle joint center projected onto the plantar surface of the foot.

The forefoot (toe) marker (RTOE, LTOE) is placed on the dorsal aspect on the 2nd metatarsal heads proximal to the MP joint (on the mid-foot side of the equinus break between forefoot and midfoot). Care should be taken in feet with midfoot breakdown or collapse. The placement of this marker should be proximal to the deformity to avoid exaggerating dorsiflexion in stance.

The heel marker (RHEE, LHEE) is placed on the calcaneous where the medial/lateral position is in line with the ankle joint center. In a plantargrade foot, the heel marker is at the same height above the plantar surface of the foot as the toe marker. For a non-plantargrade foot as well as shoe/brace conditions, the height of the heel marker must be placed so that the line from the heel to toe (when viewed from the sagittal plane) is parallel to the plantar surface of the foot.

Note that inversion/eversion of the foot cannot be measured reliably with any Conventional Gait Model without any enhancement to the foot marker set

See Enhancing the foot segment for more detail.


Load Static Trial

You can download the sample files here. These sample files were generously provided by Vicon (OMG plc, UK).

Load the static trial:

tutorial1_2.jpg

  1. From the Model menu, select Create (Add Static Calibration File)
  2. Select Hybrid Model from C3DFile
  3. In the Select the calibration file for the new model dialog, select Sub01_Static_01.c3d
    1. If using a knee alignment device, select Sub01_Static_KAD_01.c3d
  4. Click Open.

Define Necessary Model Metrics

Create Model Metrics

1. Create Subject Metrics:

  1. Click Subject Data/Metrics button

  2. Select the Mass and click the Modify Selected Item button
    Name: Mass
    Value or Expression: 75
    NOTE: This value MUST be changed for each subject

  3. Select the Height and click the Modify Selected Item button\\  Name: Height
     Value or Expression: 1.76
    NOTE: This value MUST be changed for each subject

  4. Click Add New Item button 

    1. Name: MarkerRadius
      Value or Expression: 0.005
      NOTE: This value MUST reflect the size of the markers used in YOUR lab

    2. Name: Left_Knee_Width
      Value or Expression: 0.105  
      Create the Right_Knee_Width
      NOTE: This value MUST be changed for each subject

    3. Name: Knee_Width
      Value or Expression: (Left_Knee_Width + Right_Knee_Width)/2

    4. Name: Left_Ankle_Width
      Value or Expression: 0.070
      Create the Right_Ankle_Width
      NOTE: This value MUST be changed for each subject

    5. Name: Ankle_Width
      Value or Expression: (Left_Ankle_Width + Right_Ankle_Width)/2

Pelvis Segment

Pelvis with 4 Targets

Pelvis with 4 Targets - Landmarks

1. Create SCRM:

  1. Click Landmarks button
  2. Click Add New Landmark button
  3. Create Landmark: SCRM

    Landmark Name: SCRM
    Define Orientation Using:
       Starting Point: RPSI
       Ending Point: LPSI
    Offset Using the Following ML/AP/AXIAL Offsets:
       AXIAL: 0.5
    Check: Offset by Percent (1.0 = 100%)
    Check: Calibration Only Landmark

Pelvis with 4 Targets - Definition

2. Create Pelvis Segment:

  1. In the Segments tab, select Pelvis in the Segment Name box.
  2. Select CODA in the Segment Type box.
  3. Click on the Create Segment button.
  4. In the Pelvis tab, enter these values:

    Define Calibration Targets
       R.ASIS: RASI     L.ASIS: LASI
       R.PSIS: SCRM     L.PSIS: SCRM
    Define ASIS Target Radius for Hip Joint Center Offset
     ASIS Target Radius: MarkerRadius
    Select Tracking Targets:
         LASI, LPSI, RASI, RPSI

  5. Click on Build Model.
  6. Click on Close Tab before proceeding.

Pelvis with 3 Targets

1. Create Pelvis Segment:

  1. In the Segments tab, select Pelvis in the Segment Name box.
  2. Select CODA in the Segment Type box.
  3. Click on the Create Segment button.
  4. In the Pelvis tab, enter these values:

    Define Calibration Targets
       R.ASIS: RASI     L.ASIS: LASI
       R.PSIS: SCRM     L.PSIS: SCRM
    Define ASIS Target Radius for Hip Joint Center Offset
       ASIS Target Radius: MarkerRadius
    Select Tracking Targets:
    Check: Use Calibration Targets for Tracking

  5. Click on Build Model.
  6. Click on Close Tab before proceeding.

Hip Joint Center

The CODA pelvis automatically creates hip joint centers using the Bell and Brand regression equations. The PiG model uses the Davis regression equations.

The directions below walk you through the necessary steps to create the RHJC and LHJC using the Davis regression equations. Please note, some metrics can be manually entered OR target data can be used to estimate these values.

Create Model Metrics for Hip Joint Center

1. Create Subject Metrics:

  1. Click Subject Data/Metrics button
  2. Click Add New Item button
    1. Name: Left_Leg_Length
      (A) Value or Expression: 0.940
          OR:
      (B) Value or Expression: DISTANCE(LASI,LANK)
      Create the Right_Leg_Length
      NOTE: If you specify an explicit value (ex. 0.940), this value MUST be changed for each subject

    2. Name: Leg_Length
      Value or Expression: (Left_Leg_Length + Right_Leg_Length)/2

    3. Name: C
      Value or Expression: 0.115*Leg_Length - 0.0153

    4. Name: theta
      Value or Expression: 28.4*PI/180.0

    5. Name: beta
      Value or Expression: 18.0*PI/180.0

    6. Name: Xdis
      (A) Value or Expression: 0.750
          OR:
      (B) Value or Expression: 0.1288*Leg_Length - 0.04856
      NOTE: If you specify an explicit value (ex. 0.750), this value MUST be changed for each subject

    7. Name: HJC_ML
      Value or Expression: (C * sin(theta) -0.5 * ASIS_distance)

    8. Name: HJC_AP
      Value or Expression: (-Xdis-MarkerRadius) * cos(beta)+ C * cos(theta) * sin(beta)

    9. Name: HJC_AX
      Value or Expression: (-Xdis-MarkerRadius) * sin(beta)- C * cos(theta) * cos(beta)


Helen Hayes Hip Landmarks

1. Create RHIP:

  1. Click Landmarks button
  2. Click Add New Landmark button
  3. Create Landmark: RHIP

    Landmark Name: RHIP
    Define Orientation Using:
       Click Existing Segment: Pelvis
    Offset Using the Following ML/AP/AXIAL Offsets:
       X: -HJC_ML    Y: HJC_AP    Z: HJC_AX
    Do NOT Check: Offset by Percent (1.0 = 100%)
    Check: Calibration Only Landmark

2. Create LHIP:

  1. Click Landmarks button
  2. Click Add New Landmark button
  3. Create Landmark: LHIP

    Landmark Name: LHIP
    Define Orientation Using:
       Click Existing Segment: Pelvis
    Offset Using the Following ML/AP/AXIAL Offsets:
       X: HJC_ML    Y: HJC_AP    Z: HJC_AX
    Do NOT Check: Offset by Percent (1.0 = 100%)
    Check: Calibration Only Landmark

Using Knee Alignment Device (KAD)

If you are not using a Knee Alignment Device (KAD), you can skip this section.

More information about the KAD is described on the Knee Alignment Device wiki page.

1. Create RKD Segment:

  1. In the Segments tab, type RKD in the Segment Name box.
  2. Select Kinematic Only
  3. Click on the Create Segment button.
  4. In the RKD tab, enter these values:

    Define Proximal Joint and Radius
       Lateral: RKD1     Joint: None     Medial: None     
       Radius: DISTANCE(RKD1,RKD2)/SQRT(2)
     Define Distal Joint and Radius
       Lateral: None     Joint: RKAX     Medial: None     
       Radius: 0.1 \\Extra Target to Define Orientation
       Location: Anterior     RKD2
    Select Tracking Targets:
          Check: Use Calibration Targets for Tracking

  5. Click on Build Model.
  6. Click on Close Tab before proceeding

Knee Landmarks for KAD

1. Create RKNE:

  1. Click Landmarks button
  2. Click Add New Landmark button
  3. Create Landmark: RKNE

    Landmark Name: RKNE
    Define Orientation Using:
       Click Existing Segment: RKD
    Offset Using the Following ML/AP/AXIAL Offsets:
       X: 0.0    Y: 0.0    Z: 0.0
    Do NOT Check: Offset by Percent (1.0 = 100%)
    Check: Calibration Only Landmark

Thigh Segment

1. Create Right Thigh Segment:

  1. In the Segments tab, select Right Thigh in the Segment Name box.
  2. Click on the Create Segment button.
  3. In the Right Thigh tab, enter these values:

    Define Proximal Joint and Radius
       Lateral: None     Joint: RHJC     Medial: None     
       Radius: 0.5*DISTANCE(RHJC,LHJC)
    Define Distal Joint and Radius
       Lateral: RKNE     Joint: None     Medial: None     
       Radius: 0.5*Knee_Width + MarkerRadius
    Extra Target to Define Orientation
       Location: Lateral     RTHI\\ Select Tracking Targets:
    Check: Use Calibration Targets for Tracking

  4. Click on Build Model.
  5. Click on Close Tab before proceeding.

Shank Segment

Shank Landmarks

1. Create RKJC:

  1. Click Landmarks button
  2. Click Add New Landmark button
  3. Create Landmark: RKJC

    Landmark Name: RKJC
    Define Orientation Using:
        Click Existing Segment: Right Thigh
    Offset Using the Following ML/AP/AXIAL Offsets:
       ML: 0.0    AP: 0.0    AXIAL: -1.0
    Check: Offset by Percent (1.0 = 100%)
    Do NOT Check: Calibration Only Landmark

Shank Definition

1. Create Right Shank Segment:

  1. In the Segments tab, select Right Shank in the Segment Name box.
  2. Click on the Create Segment button.
  3. In the Right Shank tab, enter these values:

    Define Proximal Joint and Radius
       Lateral: None     Joint: RKJC     Medial: None     
       Radius: RTH_DISTAL_RADIUS
    Define Distal Joint and Radius
       Lateral: RANK     Joint: None     Medial: None     
       Radius: 0.5*Ankle_Width + MarkerRadius
    Extra Target to Define Orientation
       Location: Lateral     RTIB
    Select Tracking Targets:
    Check: Use Calibration Targets for Tracking

  4. Click on Build Model.
  5. Click on Close Tab before proceeding.

Foot Segment

Foot Landmarks

1. Create RAJC:

  1. Click Landmarks button
  2. Click Add New Landmark button
  3. Create Landmark: RAJC

    Landmark Name: RAJC
    Define Orientation Using:
        Click Existing Segment: Right Shank
    Offset Using the Following ML/AP/AXIAL Offsets:
       ML: 0.0    AP: 0.0    AXIAL: -1.0
    Check: Offset by Percent (1.0 = 100%)
    Do NOT Check: Calibration Only Landmark

Foot Definition

1. Create Right Foot Segment:

  1. In the Segments tab, select Right Foot in the Segment Name box.
  2. Click on the Create Segment button.
  3. In the Right Foot tab, enter these values:

    Define Proximal Joint and Radius
       Lateral: None     Joint: RAJC     Medial: None     
       Radius: RSK_DISTAL_RADIUS
    Define Distal Joint and Radius
       Lateral: None     Joint: RTOE     Medial: None     
       Radius: RSK_DISTAL_RADIUS
    Extra Target to Define Orientation
       Location: Posterior     RHEE
    Select Tracking Targets:
          Check: Use Calibration Targets for Tracking

  4. Click on Build Model.
  5. Click on Close Tab before proceeding.

Virtual Foot Segment

1. Create RVirtualFoot Segment:

  1. In the Segments tab, type RVirtualFoot in the Segment Name box.
  2. Check Kinematic Only.
  3. Click on the Create Segment button.
  4. In the RVirtualFoot tab, enter these values:

    Define Proximal Joint and Radius
       Lateral: None     Joint: RHEE     Medial: None     
       Radius: 0.1
    Define Distal Joint and Radius
       Lateral: None     Joint: RTOE     Medial: None     
       Radius: 0.1
    Extra Target to Define Orientation
       Location: Anterior     RAJC
    Select Tracking Targets:
          Check: Use Calibration Targets for Tracking

  5. Click on Build Model.
  6. Click on Close Tab before proceeding.

2. Modify the Segment Coordinate System:

  1. Define the Segment Orientation as:
    A/P Axis: +Z
    Distal to Proximal: -Y

References

Bell AL, Pederson DR, and Brand RA (1989) Prediction of hip joint center location from external landmarks. Human Movement Science. 8:3-16

Bell AL, Pedersen DR, Brand RA (1990) A Comparison of the Accuracy of Several hip Center Location Prediction Methods. J Biomech. 23, 617-621.

Davis RB, Ounpuu S, Tyburski D, Gage JR. (1991) “A Gait Analysis Data Collection and Reduction Technique.” Human Movement Science 10: 575-587.

Kadaba MP, Ramakrishnan HK, Wootten ME (1990) “Measurement of Lower Extremity Kinematics During Level Walking.” J. Orthopedic Research8: 383-392.

Serge van Sint Jan “Color Atlas of Skeletal Landmark Definitions: Guidelines for Reproducible Manual and Virtual Palpations” 2007 - Churchill Livingstone

Gait Models in Common Use


visual3d/tutorials/modeling/plug-in_gait_lower_limb.txt · Last modified: 2024/11/15 14:51 by wikisysop