2.3 Generate Quality-Dependent Trajectory Benchmark Databases
2.3.2 Quality Reduction Module
There are several reasons leading to fragmented trajectories described in Sec- tion 2.2 in detail. For the synthetic generation of quality-dependent trajec- tory benchmarks only the resulting fragmentation is simulated. Therefore, we present two quality reduction modules (QRM ) that are based on Markov chains (M B) or Bunch deletion (BB), producing fragmented trajectory data
are presented in this thesis, namely the QRMM B and QRMBB. The vector
Θ[Pt,del, Pdel]specifies the percentage of trajectories that are fragmented Pt,del
and the percentage (Pdel) within a trajectory that is deleted. A notation of
Θ[1, 0.3]would thus indicate that 100 % of the trajectories are fragmented by deleting 30 % of each trajectory.
Markov-Based Quality Reduction Module
The Markov-based quality reduction module QRMM Bis based on a two stage
Markov model (MM) with transition matrix T (Figure 2.3):
T = p11 1 − p11 1 − p22 p22 (2.1)
Hereby, state S = 1 indicates high tracking quality without missing objects and sate S = 2 indicates bad tracking quality with missing objects leading to fragmentation. Setting the parameters pij within the transition matrix T, the
Markov model produces a sequence of states Sstate= {S = 1, S = 2, . . . , S =
NST S}, with NST S ∈ N describing the number of states within Sstate. In case
of simulated fragmentation characteristics, the number of states NST S is equal
the number of time points within a trajectory NP. Each time point within the
trajectory is therefore assigned to one state S. A given percentage of deletion Pdel,M B within a trajectory defines the number NP,del of points that have to
be deleted in a trajectory. The probability P (Deletion|S = 1) (short notation PDel,S=1) to delete a point, if the state is S = 1, is much smaller than the prob-
S=1
S=2
1-p
11p
11p
221-p
22Figure 2.3:Two state Markov model to simulate fragmentation in trajectory databases.
ability P (Deletion|S = 2) to not delete a point (short notation PDel,S=2) in case
of state S = 2:
P (Deletion|S = 1) P (Deletion|S = 2) (2.2)
Using the probabilities P (Deletion|S = 1) and P (Deletion|S = 2), the pre- defined number NP,del (result from Pdel,M B) of points are sampled within a
trajectory to be deleted. Here, the points correlated with S = 1 have a much higher probability to be sampled. The result are fragmented trajectories instead of complete trajectories existing in the complete time interval. The parame- ters p11 and p22 of the transition matrix T can be adjusted to simulate differ-
ent fragmentation behaviors. In the case of choosing p11 and p22both small,
the result are equally fragmented trajectories with deleted points equally dis- tributed over the complete time span of the trajectory. Whereas, choosing p11
and p22both to be high, the result are fragmented trajectories with longer seg-
ments of deleted points. Further, different fragmentation characteristics can be achieved by adapting the parameters p11and p22. In the following the notation
QRMM B[p11, p22, PDel,S=1, PDel,S=2]is used for the Markov-based quality re-
duction module QRMM Bwith parameters p11, p22, PDel,S=1and PDel,S=2. The
values of the single parameters are listed as subscript indices. Figure 2.4A-C ex- emplary shows the trajectories in the XY-plane of the fragmentation result for different parameter combinations QRMM B[p11, p22, PDel,S=1, PDel,S=2] of the
Markov-based quality reduction module simulating fragmentation character- istics resulting from different artifacts depicted in Figure 2.1. The start points
of the trajectories in Figure 2.4 are randomly initialized in the space resulting in different vertical distances. Hereby, Figure 2.4A depicts short intervals of deleted time points nearly equally distributed over each trajectory. For the deletion in Figure 2.4B and C, the interval of deleted time points gets longer and therefore also the remaining trajectory fragments.
A B C Q R MMB X Y -Y -X X Y -Y -X X Y -Y -X
Figure 2.4: Different parameter examples of the Markov-based quality reduction modules. The effect of the parameter choice to the fragmentation of the trajec- tories with Θ[1, 0.25]. The Markov-based quality reduction module QRMBB with
three different parameter settings is shown. (A) QRMM B[0.5, 0.5, 0.001, 0.99], (B)
QRMM B[0.8, 0.2, 0.001, 0.99], (C) QRMM B[0.9, 0.1, 0.001, 0.99]. The color code indi-
cates the trajectory IDs.
Bunch-Based Quality Reduction Module
The bunch deletion quality reduction module QRMBBis able to simulate dif-
ferent fragmentation characteristics for trajectory data leading from the dele- tion of short fragments that are equally distributed over the complete time in- terval up to the deletion of larger connected fragments. The comprehensive scheme for the QRMBBis shown in Figure 2.6. Each trajectory consists of a list
of linkings Ln = {L1, L2, . . . , LNL}. Here, a linking is the connection of two successive point IDs between consecutive time points. The number of link- ings NL = Np− 1 is hereby one less than the number of points NP within a
trajectory. The QRMBB module samples linkings Ln that are deleted from of
the trajectory depending on the parametrization of QRMBB. The deletion of
linkings lead to fragmented trajectories. Initially, the number of linkings in to- tal NL,del that are deleted is predefined. Furthermore, the parameters of the
QRMBBmodule, namely the mean bunch length µBD, the standard deviation
of the bunch length σBD and the minimal segment length τSeg,mindepicting
iterative approach, possible start positions of bunch deletions are chosen. Af- terwards, using the parameters µBD and σBD, the length of the bunch that is
deleted is sampled using a normal distribution. The mean bunch length µBD
defines the mean length of the inserted gaps whereas the minimal segment length τSeg,minserve as a constraint for the placing of the gap to be inserted.
A B C Q R MBB X Y -Y -X X Y -Y -X X Y -Y -X
Figure 2.5:Different parameter examples of Bunch-based quality reduction modules. The effect of the parameter choice to the fragmentation of the trajectories with Θ[1, 0.25]. The Bunch-based quality reduction module QRMBBwith different parameter settings
is displayed. (A) QRMBB[1, 0, 1], (B) QRMBB[5, 0, 5], (C) QRMBB[20, 0, 20]. The color
code indicates the trajectory IDs.
The linkings that are deleted are added to the deletion list Lsel,ncontaining af-
ter each iteration NL,chlinkings. As long as the number of linkings that should
be deleted NL,del is smaller than the total number of linkings in the deletion
list NL,ch), further linkings are deleted within the trajectory (see Figure 2.6).
This iterative process is applied to all NT trajectories of the set of trajecto-
ries Tset. The result is a new set of trajectories Tset,QRcontaining fragmented
tracks out of the original set Tset. The notation that is used in this thesis to
list the parametrization of the QRMBBmodule is QRMBB[µBD, σBD, τSeg,min]
with the parameter values as subscript indices. A notation of QRMBB[1, 0, 1]
would exemplary point out a bunch deletion-based quality reduction module
with an mean bunch length µBD equal 1, a standard deviation of the bunch
length σBD equal 0 and a minimal segmented length τSeg,minequal to 1. Ex-
amples of several fragmentation results depending on the parameter choice of QRMBB[µBD, σBD, τSeg,min]are shown in Figure 2.5A-C. Here, the trajectories
in the XY-plane are visualized with random initialized start points resulting in different vertical distances. Figure 2.5A shows the result of the bunch deletion module with short bunches equally distributed over the trajectories. In Figure
2.5B and C, the deleted bundles get longer resulting in longer gaps within the trajectories and therefore also longer fragments at a stretch.
dƌĂũĞĐƚŽƌŝĞƐdŝ ;ŝ сϭ͕͙͕EdͿ E>͕ĚĞůфE>͕ĐŚ ^ĂŵƉůĞƉŽƐƐŝďůĞƐƚĂƌƚƚŝŵĞŽĨ ĂĐƚƵĂůďƵŶĐŚĚĞůĞƚŝŽŶ ^ĂŵƉůĞůŝŶŬƐĂƌŽƵŶĚƚŚĞƐƚĂƌƚ ƉŽŝŶƚŽĨƚŚĞĂĐƚƵĂůďƵŶĐŚ ĚĞůĞƚŝŽŶƚŚĂƚĂƌĞĚĞůĞƚĞĚ ĚĚůŝŶŬƐƚŽůŝƐƚŽĨĐŚŽƐĞŶ ůŝŶŬŝŶŐƐ >ƐĞů͕Ŷ ;Ŷсϭ͕͙͕E>͕ĐŚͿ ^ƚĂƌƚ ^ƚŽƉ ŝ сEd &ƌĂŐŵĞŶƚĞĚďĞŶĐŚŵĂƌŬ EĞdžƚ ƚƌĂũĞĐƚŽƌLJ ŝ сŝ нϭ EƵŵďĞƌŽĨ dƌĂũĞĐƚŽƌŝĞƐEd EƵŵďĞƌůŝŶŬŝŶŐƐ ƚŽ ĚĞůĞƚĞE>͕ĚĞů ĞůĞƚĞĐŚŽƐĞŶ ůŝŶŬŝŶŐƐ >ƐĞůŝŶdŝ zĞƐ EŽ zĞƐ EŽ ŝ сϭ ђ͕ʍ ʏ^ĞŐ͕ŵŝŶ
Figure 2.6:General process of the bunch deletion quality reduction module QRMBB.
For each trajectory a given number NL,delof linkings between subsequent points are
Object Division Module
In Section 2.1 the occurrence of dividing object characteristics in tracking databases is depicted. To simulate such object division characteristics, an object division module ODM was developed. Two parameters are used to simulate different division characteristics, namely the mean object division rate ψM ODR
and the standard deviation of the object division rate ψSODR. A mean division
rate ψM ODRof 20, for example, leads to an object division every 20 time points.
The notation ODM [ψM ODR, ψSODR]is used to characterize the parametriza-
tion of the object division module ODM . The object division characteristic can be modularly added to any synthetically generated trajectory database F GMSY
of Section 2.2, leading to an enormous flexibility in the generation of benchmark trajectory databases that combine spatio-temporal characteristics and object di- vision characteristics. Here, Figure 2.7 exemplary shows the result of different parameter settings of the object division module.
B
C A
Figure 2.7:Object division simulation module. Here the lineages for different param- eterizations of the object division module ODM are exemplarily shown for a bench- mark with 200 time points of simulation. (A) ODM [50, 0], (B) ODM [50, 10] and (C) ODM [20, 0].
In real-world trajectory databases, object divisions events often lead to the loss of the objects and therefore result in fragmented trajectories. This division tracking error is simulated using the parameter κDAdescribing the probabil-
ity that a trajectory gets fragmented at an object division event. The parameter choice of κDA equal zero result in no fragmentation of the trajectories lead-
ing to two trajectories containing the same trajectory origin before the division event. Whereas, when κDAis equal one all trajectories get fragmented at object
division events. In Figure 2.8A no fragmentation exist due to division events, whereas in Figure 2.8B 50% and in Figure 2.8C 100% of all division events lead to fragmentation. A B C X Y -Y -X X Y -Y -X X Y -Y -X
Figure 2.8:Fragmentation through object division events. Here, exemplary three differ- ent parameter choices of κDAand the resulting fragmentation of the trajectory data in a
zoomed region are shown. (A) κDA= 0, (B) κDA= 0.5and (C) κDA= 1.
Further, any combination of the fragmentation through object division and fragmentation through the quality reduction modules QRM can be simulated. This allows to simulate any given problem class from Section 2.1 with any frag- mentation characteristics in an hybrid parametrizable approach (Figure 2.9) by choosing the fragmentation characteristic according to the given problem class (Section 2.1) and assessing the emerging object division characteristic depicted within the problem class.
A B C X Y -Y -X X Y -Y -X X Y -Y -X
Figure 2.9:Fragmentation as a result of combined object division module ODM and the quality reduction module QRMBB. Three different parameter combinations of object
division events and the parameters of the QRMBBis displayed within a zoomed region.
(A) κDA[0], Θ[1, 0.2], QRMBB[1, 0, 1]. (B) κDA[0.5], Θ[1, 0.3], QRMBB[1, 0, 1]and (C)
κDA[1], Θ[1, 0.4], QRMBB[1, 0, 1].