Main / Shape of Motion


Main.SOM History

Hide minor edits - Show changes to markup

June 23, 2009, at 10:31 PM by 68.147.36.140 -
Changed lines 31-32 from:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53.mpg width=320 height=180 playeveryframe=true :)
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53.mpg width=320 height=180 playeveryframe=true autoplay=false :)
Changed line 35 from:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53u.mpg width=320 height=180 playeveryframe=true :)\\
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53u.mpg width=320 height=180 playeveryframe=true autoplay=false :)\\
Changed line 38 from:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53v.mpg width=320 height=180 playeveryframe=true :)\\
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53v.mpg width=320 height=180 playeveryframe=true  autoplay=false :)\\
Changed line 41 from:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53mag.mpg width=320 height=180 playeveryframe=true :)\\
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53mag.mpg width=320 height=180 playeveryframe=true autoplay=false :)\\
Changed line 49 from:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53blob.mpg width=320 height=180 playeveryframe=true :)\\
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53blob.mpg width=320 height=180 playeveryframe=true autoplay=false :)\\
Changed line 56 from:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53scl.mpg width=320 height=180 playeveryframe=true :) \\
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53scl.mpg width=320 height=180 playeveryframe=true autoplay=false :) \\
Changed line 103 from:
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g13.mpg width=320 height=180 playeveryframe=true :)\\
to:
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g13.mpg width=320 height=180 playeveryframe=true autoplay=false :)\\
Changed line 106 from:
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g23.mpg width=320 height=180 playeveryframe=true :)\\
to:
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g23.mpg width=320 height=180 playeveryframe=true autoplay=false :)\\
Changed line 109 from:
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g33.mpg width=320 height=180 playeveryframe=true :)\\
to:
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g33.mpg width=320 height=180 playeveryframe=true autoplay=false :)\\
Changed line 112 from:
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g43.mpg width=320 height=180 playeveryframe=true :)\\
to:
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g43.mpg width=320 height=180 playeveryframe=true autoplay=false :)\\
Changed line 115 from:
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53.mpg width=320 height=180 playeveryframe=true :)\\
to:
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53.mpg width=320 height=180 playeveryframe=true autoplay=false :)\\
Changed line 118 from:
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g63.mpg width=320 height=180 playeveryframe=true :)\\
to:
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g63.mpg width=320 height=180 playeveryframe=true autoplay=false :)\\
June 23, 2009, at 04:54 PM by 68.147.36.140 -
Deleted lines 119-124:
  • Person #2
  • Person #3
  • Person #4
  • Person #5
  • Person #6
June 23, 2009, at 04:53 PM by 68.147.36.140 -
Changed lines 103-120 from:
  • Person #1
to:
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g13.mpg width=320 height=180 playeveryframe=true :)
    Person #1
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g23.mpg width=320 height=180 playeveryframe=true :)
    Person #2
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g33.mpg width=320 height=180 playeveryframe=true :)
    Person #3
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g43.mpg width=320 height=180 playeveryframe=true :)
    Person #4
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53.mpg width=320 height=180 playeveryframe=true :)
    Person #5
  • (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g63.mpg width=320 height=180 playeveryframe=true :)
    Person #6
June 23, 2009, at 04:50 PM by 68.147.36.140 -
Changed lines 49-50 from:
  • View MPEG of blobs for sample sequence.
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53blob.mpg width=320 height=180 playeveryframe=true :)
blobs for sample sequence.
Changed lines 56-57 from:
  • scalar sequence
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53scl.mpg width=320 height=180 playeveryframe=true :) 
'scalar sequence
June 23, 2009, at 04:46 PM by 68.147.36.140 -
Changed line 35 from:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53u.mpg width=320 height=180 playeveryframe="true" :)\\
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53u.mpg width=320 height=180 playeveryframe=true :)\\
Changed line 38 from:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53v.mpg width=320 height=180 playeveryframe="true" :)\\
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53v.mpg width=320 height=180 playeveryframe=true :)\\
Changed line 41 from:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53mag.mpg width=320 height=180 playeveryframe="true" :)\\
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53mag.mpg width=320 height=180 playeveryframe=true :)\\
June 23, 2009, at 04:45 PM by 68.147.36.140 -
Changed line 31 from:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53.mpg width=320 height=180 playeveryframe="true" :)
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53.mpg width=320 height=180 playeveryframe=true :)
June 23, 2009, at 04:45 PM by 68.147.36.140 -
Changed lines 31-32 from:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53.mpg width=320 height=180 :)
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53.mpg width=320 height=180 playeveryframe="true" :)
Changed line 35 from:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53u.mpg width=320 height=180 :)\\
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53u.mpg width=320 height=180 playeveryframe="true" :)\\
Changed line 38 from:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53v.mpg width=320 height=180 :)\\
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53v.mpg width=320 height=180 playeveryframe="true" :)\\
Changed line 41 from:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53mag.mpg width=320 height=180 :)\\
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53mag.mpg width=320 height=180 playeveryframe="true" :)\\
June 23, 2009, at 04:42 PM by 68.147.36.140 -
Changed lines 35-38 from:
  View MPEGs of flow for sample sequence:
  • u,
  • v,
  • |(u,v)|.
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53u.mpg width=320 height=180 :)
u (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53v.mpg width=320 height=180 :)
v (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53mag.mpg width=320 height=180 :)
magnitude
June 23, 2009, at 04:39 PM by 68.147.36.140 -
Changed lines 31-32 from:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53.mpg
  • View an MPEG of sample sequence.
to:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53.mpg width=320 height=180 :)
June 23, 2009, at 04:37 PM by 68.147.36.140 -
Added line 31:
  (:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53.mpg
June 23, 2009, at 04:16 PM by 68.147.36.140 -
Deleted line 56:
  
Changed lines 60-62 from:
  
to:
Deleted line 65:
  
Changed lines 69-70 from:
  
to:
Changed lines 137-138 from:

to:
Changed line 141 from:

to:
June 23, 2009, at 04:05 PM by 68.147.36.140 -
Changed lines 46-47 from:
  1. For each frame of the flow, we compute a set of scalars (see source code) that characterize the shape of the flow in that frame. Examples include x and y coordinates of the moving region (centx and centy), and the aspect ratio of the moving region (aspct).
to:
  1. For each frame of the flow, we compute a set of scalars (see source code) that characterize the shape of the flow in that frame. Examples include x and y coordinates of the moving region (centx and centy), and the aspect ratio of the moving region (aspct).
Changed line 71 from:
  || Frequency Spectrum of aspct (20 coefficients) || aspct with Sinusoid of Fitted Frequency and Phase ||
to:
  || Frequency Spectrum of aspct (20 coefficients) ||  aspct with Sinusoid of Fitted Frequency and Phase ||
Changed lines 78-80 from:

http://pages.cpsc.ucalgary.ca/~boyd/gait/features.gif | Feature Vector Plot

to:

http://pages.cpsc.ucalgary.ca/~boyd/gait/features.gif | Feature Vector Plot

June 23, 2009, at 04:02 PM by 68.147.36.140 -
Changed line 60 from:
  || Raw Time Series for centx, centy, aspct || centx, centy, aspct with Linear Background Removed ||
to:
  || Raw Time Series for centx, centy, aspct  ||  centx, centy, aspct with Linear Background Removed ||
June 23, 2009, at 04:00 PM by 68.147.36.140 -
Changed line 59 from:
  || http://pages.cpsc.ucalgary.ca/~boyd/gait/signals1.gif || http://pages.cpsc.ucalgary.ca/~boyd/gait/signals2.gif ||
to:
  || http://pages.cpsc.ucalgary.ca/~boyd/gait/signals1.gif || http://pages.cpsc.ucalgary.ca/~boyd/gait/signals2.gif ||
Changed line 70 from:
  || http://pages.cpsc.ucalgary.ca/~boyd/gait/signals3.gif || http://pages.cpsc.ucalgary.ca/~boyd/gait/signals4.gif ||
to:
  || http://pages.cpsc.ucalgary.ca/~boyd/gait/signals3.gif || http://pages.cpsc.ucalgary.ca/~boyd/gait/signals4.gif ||
June 23, 2009, at 03:59 PM by 68.147.36.140 -
Changed line 79 from:

http://pages.cpsc.ucalgary.ca/~boyd/gait/features.gif | feature vector plot

to:

http://pages.cpsc.ucalgary.ca/~boyd/gait/features.gif | Feature Vector Plot

Changed lines 151-152 from:

We tested recognition using a variety of algorithms. The best results were obtained by finding the nearest neighbor from a set of exemplars, vectors of mean feature values for each subject. To get an unbiased estimate of the recognition rate we used a leave-one-out procedure. Using the full feature vector gives a recognition rate of about 90%. If we use only the four best features, daspct, dcenty, vwcenty, and waspct, then the recognition rate went as high as 95%. In comparison, recognition by chance would yield a rate of about 17%.

to:

We tested recognition using a variety of algorithms. The best results were obtained by finding the nearest neighbor from a set of exemplars, vectors of mean feature values for each subject. To get an unbiased estimate of the recognition rate we used a leave-one-out procedure. Using the full feature vector gives a recognition rate of about 90%. If we use only the four best features, daspct, dcenty, vwcenty, and waspct, then the recognition rate went as high as 95%. In comparison, recognition by chance would yield a rate of about 17%.

Changed line 156 from:

daspct > dcenty > wcenty > vwcenty > aspct > vwcentx > waspct > centx > uwcentx > wcentx > uwcenty > dcentx

to:

daspct > dcenty > wcenty > vwcenty > aspct > vwcentx > waspct > centx > uwcentx > wcentx > uwcenty > dcentx

June 23, 2009, at 03:56 PM by 68.147.36.140 -
Deleted lines 90-91:

Experimental Apparatus

Changed lines 145-146 from:
http://pages.cpsc.ucalgary.ca/~boyd/gait/left.gifhttp://pages.cpsc.ucalgary.ca/~boyd/gait/right.gif

Stereo 3-D Scatter Plot of aspct versus centx and wcentx

to:
http://pages.cpsc.ucalgary.ca/~boyd/gait/right.gifhttp://pages.cpsc.ucalgary.ca/~boyd/gait/left.gif
Right Left
Added lines 148-149:

Stereo 3-D Scatter Plot of aspct versus centx and wcentx

June 23, 2009, at 03:27 PM by 136.159.7.119 -
Changed line 147 from:
http://pages.cpsc.ucalgary.ca/~boyd/gait/left.gifhttp://pages.cpsc.ucalgary.ca/~boyd/gait/right.gif
to:
http://pages.cpsc.ucalgary.ca/~boyd/gait/left.gifhttp://pages.cpsc.ucalgary.ca/~boyd/gait/right.gif
June 23, 2009, at 03:26 PM by 136.159.7.119 -
Changed lines 140-146 from:

The following scatter plots show the features with the greatest variation, centx, wcentx, and aspct:

Scatter Plot of aspct versus centx

Stereo 3-D Scatter Plot of aspct versus centx and wcentx

to:

The following scatter plots show the features with the greatest variation, centx, wcentx, and aspct:

http://pages.cpsc.ucalgary.ca/~boyd/gait/scatter.gif | Scatter Plot of aspct versus centx

http://pages.cpsc.ucalgary.ca/~boyd/gait/left.gifhttp://pages.cpsc.ucalgary.ca/~boyd/gait/right.gif

Stereo 3-D Scatter Plot of aspct versus centx and wcentx

June 23, 2009, at 03:23 PM by 136.159.7.119 -
Changed lines 133-134 from:

centy (y coordinate of the centroid of moving region) is used only as the phase reference signal.

to:

centy (y coordinate of the centroid of moving region) is used only as the phase reference signal.

Changed lines 137-138 from:
    * All features showed significant variations between people.
    * The features showing the greatest variation were aspct, dcenty, wcenty, and vwcenty. 
to:
  • All features showed significant variations between people.
  • The features showing the greatest variation were aspct, dcenty, wcenty, and vwcenty.
June 23, 2009, at 03:23 PM by 136.159.7.119 -
Changed lines 120-131 from:
  1. "centx": x coordinate of centroid of moving region
  2. "wcentx": x coordinate of centroid of moving region weighted by |(u,v)|
  3. "wcenty": y coordinate of centroid of moving region weighted by |(u,v)|
  4. "dcentx": wcentx - centx
  5. "dcenty": wcenty - centy
  6. "aspct": aspect ratio of moving region
  7. "waspct": aspect of ratio of moving region weighted by |(u,v)|
  8. "daspct": aspct - waspct
  9. "uwcentx": x coordinate of centroid of moving region weighted by |u|
  10. "uwcenty": y coordinate of centroid of moving region weighted by |u|
  11. "vwcentx": x coordinate of centroid of moving region weighted by |v|
  12. "vwcenty": y coordinate of centroid of moving region weighted by |v|
to:
  1. centx: x coordinate of centroid of moving region
  2. wcentx: x coordinate of centroid of moving region weighted by |(u,v)|
  3. wcenty: y coordinate of centroid of moving region weighted by |(u,v)|
  4. dcentx: wcentx - centx
  5. dcenty: wcenty - centy
  6. aspct: aspect ratio of moving region
  7. waspct: aspect of ratio of moving region weighted by |(u,v)|
  8. daspct: aspct - waspct
  9. uwcentx: x coordinate of centroid of moving region weighted by |u|
  10. uwcenty: y coordinate of centroid of moving region weighted by |u|
  11. vwcentx: x coordinate of centroid of moving region weighted by |v|
  12. vwcenty: y coordinate of centroid of moving region weighted by |v|
June 23, 2009, at 03:22 PM by 136.159.7.119 -
Changed lines 116-153 from:

Results: results of the experiment showing successful recognition

to:

Results

We analyzed the following scalars and their phase features:

  1. "centx": x coordinate of centroid of moving region
  2. "wcentx": x coordinate of centroid of moving region weighted by |(u,v)|
  3. "wcenty": y coordinate of centroid of moving region weighted by |(u,v)|
  4. "dcentx": wcentx - centx
  5. "dcenty": wcenty - centy
  6. "aspct": aspect ratio of moving region
  7. "waspct": aspect of ratio of moving region weighted by |(u,v)|
  8. "daspct": aspct - waspct
  9. "uwcentx": x coordinate of centroid of moving region weighted by |u|
  10. "uwcenty": y coordinate of centroid of moving region weighted by |u|
  11. "vwcentx": x coordinate of centroid of moving region weighted by |v|
  12. "vwcenty": y coordinate of centroid of moving region weighted by |v|

centy (y coordinate of the centroid of moving region) is used only as the phase reference signal.

Analysis of variance, including post hoc testing, indicated the following:

    * All features showed significant variations between people.
    * The features showing the greatest variation were aspct, dcenty, wcenty, and vwcenty. 

The following scatter plots show the features with the greatest variation, centx, wcentx, and aspct:

Scatter Plot of aspct versus centx

Stereo 3-D Scatter Plot of aspct versus centx and wcentx

We tested recognition using a variety of algorithms. The best results were obtained by finding the nearest neighbor from a set of exemplars, vectors of mean feature values for each subject. To get an unbiased estimate of the recognition rate we used a leave-one-out procedure. Using the full feature vector gives a recognition rate of about 90%. If we use only the four best features, daspct, dcenty, vwcenty, and waspct, then the recognition rate went as high as 95%. In comparison, recognition by chance would yield a rate of about 17%.

Recognition was possible for a variety of flow sources varying in spatial resolution. We observed that while the exemplars changed and the features with the greatest variation changed, as long as the parameters for flow computation were kept constant, recognition is successful.

Analysis of variance and our recognition test show that the features have the following approximate significance for recognition: daspct > dcenty > wcenty > vwcenty > aspct > vwcentx > waspct > centx > uwcentx > wcentx > uwcenty > dcentx

June 23, 2009, at 03:19 PM by 136.159.7.119 -
Changed line 60 from:
  || raw time series for centx, centy, aspct || centx, centy, aspct with linear background removed ||
to:
  || Raw Time Series for centx, centy, aspct || centx, centy, aspct with Linear Background Removed ||
Changed line 71 from:
  || frequency spectrum of aspct (20 coefficients) || aspct with sinusoid of fitted frequency and phase ||
to:
  || Frequency Spectrum of aspct (20 coefficients) || aspct with Sinusoid of Fitted Frequency and Phase ||
June 23, 2009, at 03:18 PM by 136.159.7.119 -
Changed line 23 from:

http://pages.cpsc.ucalgary.ca/~boyd/images/som-blckdiag.gif | Data-Flow Diagram

to:

http://pages.cpsc.ucalgary.ca/~boyd/images/som-blckdiag.gif | Data-Flow Diagram

Changed line 93 from:

http://pages.cpsc.ucalgary.ca/~boyd/gait/apparatus.gif | Experimental Apparatus

to:

http://pages.cpsc.ucalgary.ca/~boyd/gait/apparatus.gif | Experimental Apparatus

June 23, 2009, at 03:17 PM by 136.159.7.119 -
Changed line 23 from:

http://pages.cpsc.ucalgary.ca/~boyd/images/som-blckdiag.gif | Data-Flow Diagram

to:

http://pages.cpsc.ucalgary.ca/~boyd/images/som-blckdiag.gif | Data-Flow Diagram

Changed lines 93-94 from:

http://pages.cpsc.ucalgary.ca/~boyd/gait/apparatus.gif

to:

http://pages.cpsc.ucalgary.ca/~boyd/gait/apparatus.gif | Experimental Apparatus

June 23, 2009, at 03:16 PM by 136.159.7.119 -
Changed lines 86-116 from:

Experiment: an experiment that demonstrates the system

to:

Experiment

To verify that the system is capable of recognition, we sampled the gaits of six people using the apparatus depicted below.

Experimental Apparatus

http://pages.cpsc.ucalgary.ca/~boyd/gait/apparatus.gif

A camera fixed on a tripod points towards a fixed non-reflecting static background. Subjects walk in a circular path such that on one side of the path they pass through the field of view of the camera and pass behind the camera on the other side. Only one subject is in the field of view at any one time. The subjects walk this path for about 15 minutes while the images are recorded on video tape.

Later, we digitize sequences for the six subjects. We discard the first two or three passes for each person and digitize seven sequences for each subject (42 sequences total).

Images from the tape are digitized in 24-bit color at a resolution of 640 by 480 pixels. We resample and crop the images to get black and white images with 320 by 160 pixels.

Click to view an example sequence for each of the six subjects:

  • Person #1
  • Person #2
  • Person #3
  • Person #4
  • Person #5
  • Person #6

The complete data set.

June 23, 2009, at 03:12 PM by 136.159.7.119 -
June 23, 2009, at 03:12 PM by 136.159.7.119 -
Changed lines 57-63 from:

http://pages.cpsc.ucalgary.ca/~boyd/gait/signals1.gifhttp://pages.cpsc.ucalgary.ca/~boyd/gait/signals2.gif
raw time series for centx, centy, aspctcentx, centy, aspct with linear background removed

to:
  
  ||border=0
  || http://pages.cpsc.ucalgary.ca/~boyd/gait/signals1.gif || http://pages.cpsc.ucalgary.ca/~boyd/gait/signals2.gif ||
  || raw time series for centx, centy, aspct || centx, centy, aspct with linear background removed ||
  
Added lines 68-77:
  
  ||border=0
  || http://pages.cpsc.ucalgary.ca/~boyd/gait/signals3.gif || http://pages.cpsc.ucalgary.ca/~boyd/gait/signals4.gif ||
  || frequency spectrum of aspct (20 coefficients) || aspct with sinusoid of fitted frequency and phase ||
  
  1. Phase values are arbitrary and depend on the point in the gait at which the image sequence begins. We select a single signal to be a reference for the others. Phases, with the reference phase subtracted, are features.
  2. Selected features combine to form a feature vector for recognition. The plot shows the average feature values and the maximum and minimum values for each subject in our experiment.
Changed lines 79-81 from:
http://pages.cpsc.ucalgary.ca/~boyd/gait/signals3.gifhttp://pages.cpsc.ucalgary.ca/~boyd/gait/signals4.gif
frequency spectrum of aspct (20 coefficients)aspct with sinusoid of fitted frequency and phase
to:

http://pages.cpsc.ucalgary.ca/~boyd/gait/features.gif | feature vector plot

Changed lines 82-92 from:
      View plots of the spectrum analysis for the example sequence:
  • frequency spectrum of aspct (20 coefficients)
  • aspct with sinusoid of fitted frequency and phase
  1. Phase values are arbitrary and depend on the point in the gait at which the image sequence begins. We select a single signal to be a reference for the others. Phases, with the reference phase subtracted, are features.
  2. Selected features combine to form a feature vector for recognition. The plot shows the average feature values and the maximum and minimum values for each subject in our experiment.
    • feature vector plot

The entire process is controlled from a shell script that executes programs to compute the optical flow, calculate the scalar shape descriptions, and analyze the signals for frequency and phase.

to:

The entire process is controlled from a shell script that executes programs to compute the optical flow, calculate the scalar shape descriptions, and analyze the signals for frequency and phase.

June 23, 2009, at 03:08 PM by 136.159.7.119 -
Changed lines 63-67 from:
  View plots of some of the signals for the example sequence:
  • raw time series for centx, centy, aspct
  • centx, centy, aspct with linear background removed
to:
Added lines 66-73:

http://pages.cpsc.ucalgary.ca/~boyd/gait/signals3.gifhttp://pages.cpsc.ucalgary.ca/~boyd/gait/signals4.gif
frequency spectrum of aspct (20 coefficients)aspct with sinusoid of fitted frequency and phase

Changed line 75 from:
  • frequency spectrum of aspct (20 coefficients)
to:
  • frequency spectrum of aspct (20 coefficients)
June 23, 2009, at 03:06 PM by 136.159.7.119 -
Added lines 56-57:

Changed lines 60-61 from:
to:
raw time series for centx, centy, aspctcentx, centy, aspct with linear background removed

June 23, 2009, at 03:00 PM by 136.159.7.119 -
Changed lines 56-57 from:

http://pages.cpsc.ucalgary.ca/~boyd/gait/signals1.gif http://pages.cpsc.ucalgary.ca/~boyd/gait/signals2.gif

to:
http://pages.cpsc.ucalgary.ca/~boyd/gait/signals1.gifhttp://pages.cpsc.ucalgary.ca/~boyd/gait/signals2.gif
June 23, 2009, at 02:57 PM by 136.159.7.119 -
Added lines 55-58:

http://pages.cpsc.ucalgary.ca/~boyd/gait/signals1.gif http://pages.cpsc.ucalgary.ca/~boyd/gait/signals2.gif

June 23, 2009, at 02:56 PM by 136.159.7.119 -
Changed line 50 from:
  • scalar sequence
to:
  • scalar sequence
June 23, 2009, at 02:55 PM by 136.159.7.119 -
Changed lines 46-53 from:
  1. For each frame of the flow, we compute a set of scalars (see source code) that characterize the shape of the flow in that frame. Examples include x and y coordinates of the moving region (centx and centy), and the aspect ratio of the moving region (aspct).

View the cropped motion sequence with the the position of (centx,centy) shown as a "+", the |(u,v)|-weighted centroid (wcentx,wcenty) shown as a box, a solid ellipse corresponding to aspct, and a dashed ellipse corresponding to the aspect ratio of the |(u,v)|-weighted moving region, waspct.

  • scalar sequence

Note how the weighted ellipse (particulary senstive to fast-moving parts of the body) follows the motion of the feet as they accelerate in the gait.

to:
  1. For each frame of the flow, we compute a set of scalars (see source code) that characterize the shape of the flow in that frame. Examples include x and y coordinates of the moving region (centx and centy), and the aspect ratio of the moving region (aspct).
    View the cropped motion sequence with the the position of (centx,centy) shown as a "+", the |(u,v)|-weighted centroid (wcentx,wcenty) shown as a box, a solid ellipse corresponding to aspct, and a dashed ellipse corresponding to the aspect ratio of the |(u,v)|-weighted moving region, waspct.
    • scalar sequence
    Note how the weighted ellipse (particulary senstive to fast-moving parts of the body) follows the motion of the feet as they accelerate in the gait.
Changed lines 56-57 from:

View plots of some of the signals for the example sequence:

to:
  View plots of some of the signals for the example sequence:
June 23, 2009, at 02:53 PM by 136.159.7.119 -
Changed line 44 from:
  • View MPEG of blobs for sample sequence.
to:
  • View MPEG of blobs for sample sequence.
June 23, 2009, at 02:51 PM by 136.159.7.119 -
Deleted lines 30-32:

(:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53.mpg:)

Changed lines 37-38 from:
  • v,
  • |(u,v)|.
to:
  • v,
  • |(u,v)|.
June 23, 2009, at 02:43 PM by 136.159.7.119 -
Added lines 30-32:

(:quicktime http://pages.cpsc.ucalgary.ca/~boyd/gait/g53.mpg:)

June 23, 2009, at 02:25 PM by 136.159.7.119 -
Changed lines 33-34 from:
  1. We compute the optical flow (Bulthoff, Little, and Poggio - source code) of the motion sequence to get n frames of (u,v) data, where u is the x-direction flow and v is the y-direction flow.
to:
  1. We compute the optical flow (Bulthoff, Little, and Poggio - source code) of the motion sequence to get n frames of (u,v) data, where u is the x-direction flow and v is the y-direction flow.
Changed line 36 from:
  • u,
to:
  • u,
June 23, 2009, at 02:24 PM by 136.159.7.119 -
Changed line 35 from:

View MPEGs of flow for sample sequence:

to:
  View MPEGs of flow for sample sequence:
Changed line 40 from:

In the u and v images, red indicates negative flow while green indicates positive. To save computation time, we manually tracked each subject and computed flow only in a box surrounding the person. You can see artifacts from this box in the MPEG images of the flow sequences.

to:
  In the u and v images, red indicates negative flow while green indicates positive. To save computation time, we manually tracked each subject and computed flow only in a box surrounding the person. You can see artifacts from this box in the MPEG images of the flow sequences.
June 23, 2009, at 02:19 PM by 136.159.7.119 -
June 23, 2009, at 02:19 PM by 136.159.7.119 -
Deleted lines 22-23:

Data-Flow Diagram

Deleted line 25:

How the System Works

June 23, 2009, at 02:18 PM by 136.159.7.119 -
Changed line 37 from:

//

to:
Changed line 42 from:

//

to:
Changed lines 51-54 from:
      View the cropped motion sequence with the the position of (centx,centy) shown as a "+", the |(u,v)|-weighted centroid (wcentx,wcenty) shown as a box, a solid ellipse corresponding to aspct, and a dashed ellipse corresponding to the aspect ratio of the |(u,v)|-weighted moving region, waspct.
          * scalar sequence 
      Note how the weighted ellipse (particulary senstive to fast-moving parts of the body) follows the motion of the feet as they accelerate in the gait.
to:

View the cropped motion sequence with the the position of (centx,centy) shown as a "+", the |(u,v)|-weighted centroid (wcentx,wcenty) shown as a box, a solid ellipse corresponding to aspct, and a dashed ellipse corresponding to the aspect ratio of the |(u,v)|-weighted moving region, waspct.

  • scalar sequence

Note how the weighted ellipse (particulary senstive to fast-moving parts of the body) follows the motion of the feet as they accelerate in the gait.

Changed lines 59-62 from:
      View plots of some of the signals for the example sequence:
          * raw time series for centx, centy, aspct
          * centx, centy, aspct with linear background removed 
to:

View plots of some of the signals for the example sequence:

  • raw time series for centx, centy, aspct
  • centx, centy, aspct with linear background removed
Changed lines 66-68 from:
          * frequency spectrum of aspct (20 coefficients)
          * aspct with sinusoid of fitted frequency and phase 
to:
  • frequency spectrum of aspct (20 coefficients)
  • aspct with sinusoid of fitted frequency and phase
Changed lines 73-74 from:
  • feature vector plot
to:
  • feature vector plot
Changed lines 79-81 from:
  1. Experiment: an experiment that demonstrates the system
  2. Results: results of the experiment showing successful recognition

@]

to:

Experiment: an experiment that demonstrates the system

Results: results of the experiment showing successful recognition

June 23, 2009, at 02:16 PM by 136.159.7.119 -
Added line 37:

//

Deleted line 38:
Changed lines 41-42 from:
  • |(u,v)|.
to:
  • |(u,v)|.

//

June 23, 2009, at 02:14 PM by 136.159.7.119 -
Changed line 25 from:

http://pages.cpsc.ucalgary.ca/~boyd/images/som-blckdiag.gif | Data-Flow Diagram

to:

http://pages.cpsc.ucalgary.ca/~boyd/images/som-blckdiag.gif | Data-Flow Diagram

Changed lines 28-29 from:

How the System Works:

to:

How the System Works

Changed lines 32-47 from:
   1. The system begins with a motion sequence of n+1 frames of a person walking.
          * View an MPEG of sample sequence. 

   2. We compute the optical flow (Bulthoff, Little, and Poggio - source code) of the motion sequence to get n frames of (u,v) data, where u is the x-direction flow and v is the y-direction flow.

      View MPEGs of flow for sample sequence:
          * u,
          * v,
          * |(u,v)|. 

      In the u and v images, red indicates negative flow while green indicates positive. To save computation time, we manually tracked each subject and computed flow only in a box surrounding the person. You can see artifacts from this box in the MPEG images of the flow sequences.
   3. Spurious motion in the image background can confound recognition. The aspect ratio signals are particularly sensitive to outliers. To eliminate as many outliers as possible, we compute connected components of regions that are moving and discard the small components. The resulting moving "blobs" have less spurious motion.
          * View MPEG of blobs for sample sequence. 

   4. For each frame of the flow, we compute a set of scalars (see source code) that characterize the shape of the flow in that frame. Examples include x and y coordinates of the moving region (centx and centy), and the aspect ratio of the moving region (aspct).
to:
  1. The system begins with a motion sequence of n+1 frames of a person walking.
    • View an MPEG of sample sequence.
  2. We compute the optical flow (Bulthoff, Little, and Poggio - source code) of the motion sequence to get n frames of (u,v) data, where u is the x-direction flow and v is the y-direction flow.

View MPEGs of flow for sample sequence:

  • u,
  • v,
  • |(u,v)|.

In the u and v images, red indicates negative flow while green indicates positive. To save computation time, we manually tracked each subject and computed flow only in a box surrounding the person. You can see artifacts from this box in the MPEG images of the flow sequences.

  1. Spurious motion in the image background can confound recognition. The aspect ratio signals are particularly sensitive to outliers. To eliminate as many outliers as possible, we compute connected components of regions that are moving and discard the small components. The resulting moving "blobs" have less spurious motion.
  • View MPEG of blobs for sample sequence.
  1. For each frame of the flow, we compute a set of scalars (see source code) that characterize the shape of the flow in that frame. Examples include x and y coordinates of the moving region (centx and centy), and the aspect ratio of the moving region (aspct).
Changed lines 55-56 from:
   5. We rearrange the scalars to form one time series for each scalar.
to:
  1. We rearrange the scalars to form one time series for each scalar.
Changed lines 61-62 from:
   6. The time series are sinusoidal and have a common frequency. We use least-squares linear prediction spectrum analysis (Barrodale and Erikson's method - source code) to find the fundamental frequency and phase for each series. A Matlab example that demonstrates the advantages of this method is available.
to:
  1. The time series are sinusoidal and have a common frequency. We use least-squares linear prediction spectrum analysis (Barrodale and Erikson's method - source code) to find the fundamental frequency and phase for each series. A Matlab example that demonstrates the advantages of this method is available.
Changed lines 67-71 from:
   7. Phase values are arbitrary and depend on the point in the gait at which the image sequence begins. We select a single signal to be a reference for the others. Phases, with the reference phase subtracted, are features.

   8. Selected features combine to form a feature vector for recognition. The plot shows the average feature values and the maximum and minimum values for each subject in our experiment.
          * feature vector plot 
to:
  1. Phase values are arbitrary and depend on the point in the gait at which the image sequence begins. We select a single signal to be a reference for the others. Phases, with the reference phase subtracted, are features.
  2. Selected features combine to form a feature vector for recognition. The plot shows the average feature values and the maximum and minimum values for each subject in our experiment.
  • feature vector plot
Changed lines 79-87 from:

To Contact the Authors:

    * Jim Little is at the University of British Columbia, Department of Computer Science. Send e-mail to:
      little@cs.ubc.ca

    * Jeff Boyd is at the Department of Computer Science, University of Calgary. Send e-mail to:
      boyd@cpsc.ucalgary.ca

[Next]

to:

@]

June 23, 2009, at 02:05 PM by 136.159.7.119 -
Changed lines 3-6 from:

The Shape of Motin

We have developed a novel vision system that can recognize people by the way they walk. The system computes optical flow for an image sequence of a person walking, and then characterizes the shape of the motion with a set of sinusoidally-varying scalars. Feature vectors composed of the phases of the sinusoids are able to discriminate among people.

to:

The Shape of Motion

We have developed a novel vision system that can recognize people by the way they walk. The system computes optical flow for an image sequence of a person walking, and then characterizes the shape of the motion with a set of sinusoidally-varying scalars. Feature vectors composed of the phases of the sinusoids are able to discriminate among people.

Changed lines 21-22 from:

System Description

to:

System Description

Added lines 24-27:

http://pages.cpsc.ucalgary.ca/~boyd/images/som-blckdiag.gif | Data-Flow Diagram

June 23, 2009, at 01:59 PM by 136.159.7.119 -
Added lines 3-4:

The Shape of Motin

Changed lines 6-8 from:

Contents

  1. Overview: overview of the work
  2. System: a description of the recognition system
to:

Overview

Our goal is to describe the motion of a moving human figure in order to recognize individuals by variation in the characteristics of the motion description. We begin with a short sequence of images of a moving figure, taken by a static camera, and derive dense optical flow data, (u(x,y),v(x,y)), for the sequence. We determine a range of scale-independent scalar features of each flow image that characterize the spatial distribution of the flow, i.e., the shape of the motion. The scalars are based on various moments of the set of moving points. To characterize the shape of the motion, not the shape of moving points, the points are weighted by |u|, |v|, or |(u,v)|.

We then analyze the periodic structure of these sequences of scalars. All of these sequences share the same fundamental period of the gait, but they differ in phase. Although there are several regularities in the relative phases of the signals, some of the phases show significant statistical variation. Therefore, we are able to use vectors of phase measurements derived for each image sequence to recognize individuals by the shape of their motion.

The representation is model-free, and therefore could be used to characterize the motion of other non-rigid bodies.

System Description

Data-Flow Diagram How the System Works:

As shown in the data-flow diagram (above), the steps in the system are, from top to bottom:

   1. The system begins with a motion sequence of n+1 frames of a person walking.
          * View an MPEG of sample sequence. 

   2. We compute the optical flow (Bulthoff, Little, and Poggio - source code) of the motion sequence to get n frames of (u,v) data, where u is the x-direction flow and v is the y-direction flow.

      View MPEGs of flow for sample sequence:
          * u,
          * v,
          * |(u,v)|. 

      In the u and v images, red indicates negative flow while green indicates positive. To save computation time, we manually tracked each subject and computed flow only in a box surrounding the person. You can see artifacts from this box in the MPEG images of the flow sequences.
   3. Spurious motion in the image background can confound recognition. The aspect ratio signals are particularly sensitive to outliers. To eliminate as many outliers as possible, we compute connected components of regions that are moving and discard the small components. The resulting moving "blobs" have less spurious motion.
          * View MPEG of blobs for sample sequence. 

   4. For each frame of the flow, we compute a set of scalars (see source code) that characterize the shape of the flow in that frame. Examples include x and y coordinates of the moving region (centx and centy), and the aspect ratio of the moving region (aspct).

      View the cropped motion sequence with the the position of (centx,centy) shown as a "+", the |(u,v)|-weighted centroid (wcentx,wcenty) shown as a box, a solid ellipse corresponding to aspct, and a dashed ellipse corresponding to the aspect ratio of the |(u,v)|-weighted moving region, waspct.
          * scalar sequence 
      Note how the weighted ellipse (particulary senstive to fast-moving parts of the body) follows the motion of the feet as they accelerate in the gait.

   5. We rearrange the scalars to form one time series for each scalar.

      View plots of some of the signals for the example sequence:
          * raw time series for centx, centy, aspct
          * centx, centy, aspct with linear background removed 

   6. The time series are sinusoidal and have a common frequency. We use least-squares linear prediction spectrum analysis (Barrodale and Erikson's method - source code) to find the fundamental frequency and phase for each series. A Matlab example that demonstrates the advantages of this method is available.

      View plots of the spectrum analysis for the example sequence:
          * frequency spectrum of aspct (20 coefficients)
          * aspct with sinusoid of fitted frequency and phase 

   7. Phase values are arbitrary and depend on the point in the gait at which the image sequence begins. We select a single signal to be a reference for the others. Phases, with the reference phase subtracted, are features.

   8. Selected features combine to form a feature vector for recognition. The plot shows the average feature values and the maximum and minimum values for each subject in our experiment.
          * feature vector plot 

The entire process is controlled from a shell script that executes programs to compute the optical flow, calculate the scalar shape descriptions, and analyze the signals for frequency and phase.

June 23, 2009, at 01:57 PM by 136.159.7.119 -
Added lines 1-17:

(:title Shape of Motion:)

We have developed a novel vision system that can recognize people by the way they walk. The system computes optical flow for an image sequence of a person walking, and then characterizes the shape of the motion with a set of sinusoidally-varying scalars. Feature vectors composed of the phases of the sinusoids are able to discriminate among people. Contents

  1. Overview: overview of the work
  2. System: a description of the recognition system
  3. Experiment: an experiment that demonstrates the system
  4. Results: results of the experiment showing successful recognition

To Contact the Authors:

    * Jim Little is at the University of British Columbia, Department of Computer Science. Send e-mail to:
      little@cs.ubc.ca

    * Jeff Boyd is at the Department of Computer Science, University of Calgary. Send e-mail to:
      boyd@cpsc.ucalgary.ca

[Next]

Page last modified on June 23, 2009, at 10:31 PM