next up previous index
Next: Results of clustering based Up: The results Previous: The results   Index



Results of clustering based on dynamic time warping and normalised cut

This section presents the pathlet groups extracted from original trajectories. The normalised cut algorithm has been used for the grouping while the dynamic time warping algorithm has been used for the similarity measure.

Tables 5.2 and 5.3 show pathlet groups extracted from the trajectory T1.


Table 5.2: Pathlet groups for trajectory T1 (groups 1 to 15) based on dynamic time warping and normalised cut clustering. For each group, the nodes are drawn in the upper figure with the pathlets forming that group. Using the pathlet model, one hundred generated pathlets are drawn in the lower figure.
pathlet groups of trajectory T1
Group 1 Group 2 Group 3 Group 4 Group 5
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group0_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group1_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group2_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group3_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group4_axes.eps}
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup0_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup1_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup2_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup3_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup4_axes.eps}
Group 6 Group 7 Group 8 Group 9 Group 10
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group5_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group6_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group7_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group8_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group9_axes.eps}
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup5_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup6_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup7_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup8_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup9_axes.eps}
Group 11 Group 12 Group 13 Group 14 Group 15
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group10_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group11_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group12_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group13_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group14_axes.eps}
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup10_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup11_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup12_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup13_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup14_axes.eps}



Table 5.3: Pathlet groups for trajectory T1 (groups 16 to 25) based on dynamic time warping and normalised cut clustering. For each group, the nodes are drawn in the upper figure with the pathlets forming that group. Using the pathlet model, one hundred generated pathlets are drawn in the lower figure.
pathlet groups of trajectory T1
Group 16 Group 17 Group 18 Group 19 Group 20
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group15_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group16_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group17_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group18_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group19_axes.eps}
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup15_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup16_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup17_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup18_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup19_axes.eps}
Group 21 Group 22 Group 23 Group 24 Group 25
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group20_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group21_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group22_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group23_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_group24_axes.eps}
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup20_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup21_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup22_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup23_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_2c/2c_ggroup24_axes.eps}


For each pathlet group, the nodes extracted from the original trajectory are shown with black dots; the pathlets that form the group are drawn between the nodes. The nodes have been generated using algorithm A4, as previously illustrated in table 5.1 page [*].

Below those pictures, we represent the pathlet model by the generation of one hundred random pathlets. This is done by sampling pathlets from the group, with a Gaussian distribution around the mean pathlet, in order to represent the variance of that group. Only dots representing the positions of the generated points are shown for the reader to appreciate the modelling of timings.

Note that one can find four different types of pathlet models:

Similar type of pathlet models can be observed when applying the algorithms to trajectory T2 (tables 5.4 and 5.5) and trajectory T3 (table 5.6).

For instance for trajectory T2, the pathlet models corresponding to groups 3, 14 or 21 have been learnt on a set of pathlets containing outliers. The groups 1, 8 , 23, or 25 are correctly modelled, while the pathlet models corresponding to groups 12 or 13 have been built using only one pathlet. Finally pathlet models corresponding to the groups 6, 19 or 26 have been learnt on a set of pathlets that do not look similar to each other.

Finally, the same types of pathlet models can be observed when extracting pathlet groups form the trajectory T3 (see table 5.6).

Note that tables 5.2, 5.3, 5.4, 5.5 and 5.6 shows all the possible generated pathlets. They include the pathlets that have been generated with negative timings. This often occurs where the pathlet groups contain outliers. For instance the pathlet model corresponding to group 5 extracted from trajectory T1 can generate such impossible pathlets. Figure 5.12 shows pathlets generated from the pathlet model of group 5 extracted from the trajectory T1. Pathlets generated with negative timings are circled with a dotted circle. As mentioned in section 5.3.2, pathlets that have timings going backward in time are discarded and new pathlets are generated instead. We can see that this rejection of impossible pathlets improves the output of the pathlet model. However the model still remains weak since it can generate other unlikely pathlets.

Figure 5.12: Generation of pathlets with negative timings. A hundred pathlets have been generated from the pathlet model learnt from the pathlet group 5 extracted from trajectory T1. The pathlets with negative timings have been circled with a dotted circle. In practice we ignore such pathlets and sample again.
\includegraphics[width=75mm,keepaspectratio]{negtimings.eps}


Table 5.4: Pathlet groups for trajectory T2 (groups 1 to 15) based on dynamic time warping and normalised cut clustering. For each group, the nodes are drawn in the upper figure with the pathlets forming that group. Using the pathlet model leant from that group, one hundred generated pathlets are drawn in the lower figure.
pathlet groups of trajectory T2
Group 1 Group 2 Group 3 Group 4 Group 5
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group0_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group1_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group2_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group3_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group4_axes.eps}
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup0_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup1_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup2_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup3_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup4_axes.eps}
Group 6 Group 7 Group 8 Group 9 Group 10
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group5_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group6_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group7_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group8_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group9_axes.eps}
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup5_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup6_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup7_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup8_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup9_axes.eps}
Group 11 Group 12 Group 13 Group 14 Group 15
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group10_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group11_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group12_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group13_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group14_axes.eps}
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup10_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup11_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup12_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup13_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup14_axes.eps}



Table 5.5: Pathlet groups for trajectory T2 (groups 16 to 26) based on dynamic time warping and normalised cut clustering. For each group, the nodes are drawn in the upper figure with the pathlets forming that group. Using the pathlet model learnt from that group, one hundred generated pathlets are drawn in the lower figure.
pathlet groups of trajectory T2
Group 16 Group 17 Group 18 Group 19 Group 20
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group15_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group16_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group17_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group18_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group19_axes.eps}
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup15_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup16_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup17_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup18_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup19_axes.eps}
Group 21 Group 22 Group 23 Group 24 Group 25
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group20_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group21_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group22_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group23_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group24_axes.eps}
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup20_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup21_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup22_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup23_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup24_axes.eps}
Group 26        
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_group25_axes.eps}        
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_walter/walter_ggroup25_axes.eps}        



Table 5.6: Pathlet groups for trajectory T3 (groups 1 to 9) based on dynamic time warping and normalised cut clustering. For each group, the nodes are drawn in the upper figure with the pathlets forming that group. Using the pathlet model learnt from that group, one hundred generated pathlets are drawn in the lower figure.
pathlet groups of trajectory T3
Group 1 Group 2 Group 3 Group 4 Group 5
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_group0_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_group1_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_group2_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_group3_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_group4_axes.eps}
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_ggroup0_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_ggroup1_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_ggroup2_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_ggroup3_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_ggroup4_axes.eps}
Group 6 Group 7 Group 8 Group 9  
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_group5_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_group6_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_group7_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_group8_axes.eps}  
\includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_ggroup5_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_ggroup6_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_ggroup7_axes.eps} \includegraphics[width=25mm,keepaspectratio]{groups/dtw_non/non_ggroup8_axes.eps}  


Ideally, we prefer to have pathlet models that model the original data properly. We want to avoid pathlet models modelling outliers as well as those modelling pathlets that do not look similar to each other. The two other types of pathlet models are able to model properly the original data.

Pathlet models built from pathlet groups that only contain one pathlet reproduce exactly the pathlet they have learnt. Since we want to avoid using original frames to create the output video of our system, we would like to avoid such models. However, we cannot discard those groups. Since we cannot generalise from a group of pathlets with only one example, we have to copy them to be faithful to the original data.


next up previous index
Next: Results of clustering based Up: The results Previous: The results   Index

franck 2006-10-01